summaryrefslogtreecommitdiff
path: root/package/rpm/rpm.mk
blob: 32dd3b1c8e8aae285ade888399f78a3ff679a884 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#############################################################
#
# rpm
#
#############################################################
RPM_VERSION = 5.1.0
RPM_SITE = http://rpm5.org/files/rpm/rpm-5.0/
RPM_AUTORECONF = YES

RPM_DEPENDENCIES = zlib 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 \
	$(DISABLE_NLS)

RPM_INSTALL_TARGET_OPT=DESTDIR=$(TARGET_DIR) program_transform_name= install

$(eval $(call AUTOTARGETS,package,rpm))