]> Git Repo - buildroot-mgba.git/blame - package/rpm/rpm.mk
file: install to staging as well
[buildroot-mgba.git] / package / rpm / rpm.mk
CommitLineData
6fd44d68
NK
1#############################################################
2#
3# rpm
4#
5#############################################################
f16a9799
NK
6RPM_VERSION = 5.2.0
7RPM_SITE = http://rpm5.org/files/rpm/rpm-5.2/
8RPM_AUTORECONF = NO
6fd44d68 9
f16a9799 10RPM_DEPENDENCIES = zlib beecrypt neon popt
6fd44d68 11
f16a9799
NK
12RPM_CONF_ENV = CFLAGS="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include/beecrypt -I$(STAGING_DIR)/usr/include/neon -DHAVE_MUTEX_THREAD_ONLY" \
13 ac_cv_va_copy=yes
6fd44d68
NK
14
15RPM_CONF_OPT = --disable-build-versionscript --disable-rpath \
16 --without-selinux \
17 --without-python --without-perl \
18 --with-zlib=$(STAGING_DIR) \
19 --with-libbeecrypt=$(STAGING_DIR) \
f16a9799
NK
20 --with-popt=$(STAGING_DIR)
21
22ifeq ($(BR2_PACKAGE_RPM_XZ_PAYLOADS),y)
23RPM_CONF_OPT+=--with-xz
24endif
25
26ifeq ($(BR2_PACKAGE_RPM_BZIP2_PAYLOADS),y)
27RPM_CONF_OPT+=--with-bzip2
28RPM_DEPENDENCIES+=bzip2
29endif
6fd44d68 30
3d82609b 31RPM_MAKE = $(MAKE1)
509fe4a6 32
6fd44d68
NK
33RPM_INSTALL_TARGET_OPT=DESTDIR=$(TARGET_DIR) program_transform_name= install
34
300f9c9c 35$(eval $(call AUTOTARGETS))
This page took 0.278668 seconds and 4 git commands to generate.