summaryrefslogtreecommitdiff
path: root/package/rpm/Makefile
blob: 566b56251d506e3ee441fc9144f863fd47e51c21 (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
27
28
29
30
31
32
33
34
35
36
37
38
39
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.

include $(TOPDIR)/rules.mk

PKG_NAME:=		rpm
PKG_VERSION:=		5.3.5
PKG_RELEASE:=		1
PKG_MD5SUM:=		7a5112fd208bfda7a1cab20b9ce17a02
PKG_DESCR:=		Package Manager
PKG_SECTION:=		base
PKG_URL:=		http://www.rpm.org/
PKG_SITES:=		http://rpm5.org/files/rpm/rpm-5.3/

PKG_CFLINE_RPM:=	depends on ADK_BROKEN
PKG_HOST_DEPENDS:=	!cygwin !darwin
PKG_ARCH_DEPENDS:=	!cris

include $(TOPDIR)/mk/package.mk

$(eval $(call PKG_template,RPM,${PKG_NAME},$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))

CONFIGURE_ENV+=		ac_cv_va_copy=no
CONFIGURE_ARGS+=	--with-usecrypto=BeeCrypt \
			--with-beecrypt=internal \
			--with-db=external \
			--with-sqlite=none \
			--without-python \
			--without-perl \
			--without-ruby \
			--without-lua

post-install:
	$(INSTALL_DIR) $(IDIR_RPM)/usr/bin $(IDIR_RPM)/usr/lib/rpm
	$(INSTALL_BIN) $(WRKINST)/usr/bin/rpm* $(IDIR_RPM)/usr/bin
	$(CP) $(WRKINST)/usr/lib/*.so* $(IDIR_RPM)/usr/lib
	$(CP) $(WRKINST)/usr/lib/rpm/* $(IDIR_RPM)/usr/lib/rpm

include ${TOPDIR}/mk/pkg-bottom.mk