]>
Commit | Line | Data |
---|---|---|
6fd44d68 NK |
1 | ############################################################# |
2 | # | |
3 | # rpm | |
4 | # | |
5 | ############################################################# | |
f16a9799 NK |
6 | RPM_VERSION = 5.2.0 |
7 | RPM_SITE = http://rpm5.org/files/rpm/rpm-5.2/ | |
8 | RPM_AUTORECONF = NO | |
6fd44d68 | 9 | |
f16a9799 | 10 | RPM_DEPENDENCIES = zlib beecrypt neon popt |
6fd44d68 | 11 | |
f16a9799 NK |
12 | RPM_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 | |
15 | RPM_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 | ||
22 | ifeq ($(BR2_PACKAGE_RPM_XZ_PAYLOADS),y) | |
23 | RPM_CONF_OPT+=--with-xz | |
24 | endif | |
25 | ||
26 | ifeq ($(BR2_PACKAGE_RPM_BZIP2_PAYLOADS),y) | |
27 | RPM_CONF_OPT+=--with-bzip2 | |
28 | RPM_DEPENDENCIES+=bzip2 | |
29 | endif | |
6fd44d68 | 30 | |
3d82609b | 31 | RPM_MAKE = $(MAKE1) |
509fe4a6 | 32 | |
6fd44d68 NK |
33 | RPM_INSTALL_TARGET_OPT=DESTDIR=$(TARGET_DIR) program_transform_name= install |
34 | ||
300f9c9c | 35 | $(eval $(call AUTOTARGETS)) |