2008-04-14 12:56:41 +02:00
|
|
|
#############################################################
|
|
|
|
#
|
|
|
|
# rpm
|
|
|
|
#
|
|
|
|
#############################################################
|
2009-12-25 11:29:22 +01:00
|
|
|
RPM_VERSION = 5.2.0
|
|
|
|
RPM_SITE = http://rpm5.org/files/rpm/rpm-5.2/
|
|
|
|
RPM_AUTORECONF = NO
|
2008-04-14 12:56:41 +02:00
|
|
|
|
2009-12-25 11:29:22 +01:00
|
|
|
RPM_DEPENDENCIES = zlib beecrypt neon popt
|
2008-04-14 12:56:41 +02:00
|
|
|
|
2009-12-25 11:29:22 +01:00
|
|
|
RPM_CONF_ENV = CFLAGS="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include/beecrypt -I$(STAGING_DIR)/usr/include/neon -DHAVE_MUTEX_THREAD_ONLY" \
|
|
|
|
ac_cv_va_copy=yes
|
2008-04-14 12:56:41 +02:00
|
|
|
|
|
|
|
RPM_CONF_OPT = --disable-build-versionscript --disable-rpath \
|
|
|
|
--without-selinux \
|
|
|
|
--without-python --without-perl \
|
|
|
|
--with-zlib=$(STAGING_DIR) \
|
|
|
|
--with-libbeecrypt=$(STAGING_DIR) \
|
2009-12-25 11:29:22 +01:00
|
|
|
--with-popt=$(STAGING_DIR)
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_RPM_XZ_PAYLOADS),y)
|
|
|
|
RPM_CONF_OPT+=--with-xz
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_RPM_BZIP2_PAYLOADS),y)
|
|
|
|
RPM_CONF_OPT+=--with-bzip2
|
|
|
|
RPM_DEPENDENCIES+=bzip2
|
|
|
|
endif
|
2008-04-14 12:56:41 +02:00
|
|
|
|
2009-11-23 16:22:36 +01:00
|
|
|
RPM_MAKE = $(MAKE1)
|
2008-04-29 07:04:14 +02:00
|
|
|
|
2008-04-14 12:56:41 +02:00
|
|
|
RPM_INSTALL_TARGET_OPT=DESTDIR=$(TARGET_DIR) program_transform_name= install
|
|
|
|
|
2011-09-29 21:57:43 +02:00
|
|
|
$(eval $(call AUTOTARGETS))
|