2008-04-14 12:56:41 +02:00
|
|
|
#############################################################
|
|
|
|
#
|
|
|
|
# rpm
|
|
|
|
#
|
|
|
|
#############################################################
|
2008-12-31 19:12:22 +01:00
|
|
|
RPM_VERSION = 5.1.6
|
2008-04-29 07:04:14 +02:00
|
|
|
RPM_SITE = http://rpm5.org/files/rpm/rpm-5.1/
|
2008-04-14 12:56:41 +02:00
|
|
|
RPM_AUTORECONF = YES
|
2008-12-31 19:12:22 +01:00
|
|
|
RPM_LIBTOOL_PATCH = NO
|
2008-04-14 12:56:41 +02:00
|
|
|
|
2008-04-29 07:04:14 +02:00
|
|
|
RPM_DEPENDENCIES = zlib bzip2 beecrypt neon popt
|
2008-04-14 12:56:41 +02:00
|
|
|
|
2009-11-23 16:22:36 +01:00
|
|
|
RPM_CONF_ENV = CFLAGS="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include/beecrypt -I$(STAGING_DIR)/usr/include/neon" \
|
2008-04-14 12:56:41 +02:00
|
|
|
ac_cv_va_copy=yes
|
2009-11-23 16:22:36 +01:00
|
|
|
# the above doesn't work with shared config.cache
|
|
|
|
RPM_USE_CONFIG_CACHE = NO
|
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) \
|
|
|
|
--with-popt=$(STAGING_DIR) \
|
2008-04-27 11:51:32 +02:00
|
|
|
--with-mutex=UNIX/fcntl \
|
2009-01-18 10:26:28 +01:00
|
|
|
--with-bzip2
|
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
|
|
|
|
|
|
|
|
$(eval $(call AUTOTARGETS,package,rpm))
|