kumquat-buildroot/package/rpm/rpm.mk
Nigel Kukard 509fe4a6de * Bump version to 5.1.1
* Use bzip2 compression (rpms can have gzip or bzip2 payloads)
* -j1, rpm cannot build with more than 1 thread
2008-04-29 05:04:14 +00:00

30 lines
805 B
Makefile

#############################################################
#
# rpm
#
#############################################################
RPM_VERSION = 5.1.1
RPM_SITE = http://rpm5.org/files/rpm/rpm-5.1/
RPM_AUTORECONF = YES
RPM_DEPENDENCIES = zlib bzip2 beecrypt neon popt
RPM_CONF_ENV = CFLAGS="-I$(STAGING_DIR)/usr/include/beecrypt -I$(STAGING_DIR)/usr/include/neon" \
ac_cv_va_copy=yes
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) \
--with-mutex=UNIX/fcntl \
--with-bzip2 \
$(DISABLE_NLS)
RPM_MAKE_OPT = -j1
RPM_INSTALL_TARGET_OPT=DESTDIR=$(TARGET_DIR) program_transform_name= install
$(eval $(call AUTOTARGETS,package,rpm))