]>
Commit | Line | Data |
---|---|---|
8dfd59d1 | 1 | ################################################################################ |
6fd44d68 NK |
2 | # |
3 | # rpm | |
4 | # | |
8dfd59d1 | 5 | ################################################################################ |
70270401 | 6 | |
aa593ddb JG |
7 | RPM_VERSION_MAJOR = 5.2 |
8 | RPM_VERSION = $(RPM_VERSION_MAJOR).0 | |
c7f4b964 | 9 | RPM_SITE = http://rpm5.org/files/rpm/rpm-$(RPM_VERSION_MAJOR) |
f16a9799 | 10 | RPM_DEPENDENCIES = zlib beecrypt neon popt |
ccc3fad9 GZ |
11 | RPM_LICENSE = LGPLv2.1 |
12 | RPM_LICENSE_FILES = COPYING.LIB | |
6fd44d68 | 13 | |
f16a9799 | 14 | RPM_CONF_ENV = CFLAGS="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include/beecrypt -I$(STAGING_DIR)/usr/include/neon -DHAVE_MUTEX_THREAD_ONLY" \ |
03d90926 | 15 | ac_cv_va_copy=yes |
6fd44d68 NK |
16 | |
17 | RPM_CONF_OPT = --disable-build-versionscript --disable-rpath \ | |
18 | --without-selinux \ | |
19 | --without-python --without-perl \ | |
e42361bb | 20 | --with-openssl=external \ |
6fd44d68 NK |
21 | --with-zlib=$(STAGING_DIR) \ |
22 | --with-libbeecrypt=$(STAGING_DIR) \ | |
03d90926 PK |
23 | --with-popt=$(STAGING_DIR) |
24 | ||
25 | ifeq ($(BR2_PACKAGE_PCRE),y) | |
26 | RPM_DEPENDENCIES += pcre | |
27 | RPM_CONF_OPT += --with-pcre=external | |
28 | else | |
29 | RPM_CONF_OPT += --with-pcre=no | |
30 | endif | |
31 | ||
32 | ifeq ($(BR2_PACKAGE_FILE),y) | |
33 | RPM_DEPENDENCIES += file | |
34 | RPM_CONF_OPT += --with-file=external | |
35 | else | |
36 | RPM_CONF_OPT += --with-file=no | |
37 | endif | |
f16a9799 NK |
38 | |
39 | ifeq ($(BR2_PACKAGE_RPM_XZ_PAYLOADS),y) | |
e0d9d33c | 40 | RPM_CONF_OPT += --with-xz |
f16a9799 NK |
41 | endif |
42 | ||
43 | ifeq ($(BR2_PACKAGE_RPM_BZIP2_PAYLOADS),y) | |
e0d9d33c JG |
44 | RPM_CONF_OPT += --with-bzip2 |
45 | RPM_DEPENDENCIES += bzip2 | |
f16a9799 | 46 | endif |
6fd44d68 | 47 | |
3d82609b | 48 | RPM_MAKE = $(MAKE1) |
509fe4a6 | 49 | |
e0d9d33c | 50 | RPM_INSTALL_TARGET_OPT = DESTDIR=$(TARGET_DIR) program_transform_name= install |
6fd44d68 | 51 | |
e1502ebc | 52 | $(eval $(autotools-package)) |