1 # Maintainer: David Strobach <lalochcz@gmail.com>
2 # Contributor: Paolo Stivanin <admin AT polslinux DOT it>
9 pkgdesc="The RedHat Package Manager"
10 arch=('i686' 'x86_64')
11 url="http://rpm5.org/"
14 depends=('perl' 'python2' 'zlib' 'beecrypt' 'pcre' 'file' 'neon' 'xz' 'popt' 'db5.1')
15 conflicts=("${pkgname}-org" 'rpmextract')
16 options=('!emptydirs')
17 source=("http://rpm5.org/files/$pkgname/$pkgname-5.3/$pkgname-$pkgver-$_pkgrel.$_pkgreldate.src.rpm")
18 md5sums=('d4c4967e945609eb6bf751f8d9320bf2')
21 msg "Preparing sources"
22 bsdtar -xf $pkgname-$pkgver.tar.gz
25 LDFLAGS="${LDFLAGS} -Wl,--no-as-needed"
26 ./configure --prefix=/usr \
28 --localstatedir=/var \
30 --with-python-inc-dir=/usr/include/python2.7 \
31 --with-python-lib-dir=/usr/lib/python2.7 \
34 --with-popt=/usr/lib \
35 --with-pcre=/usr/lib \
36 --with-bzip2=/usr/lib \
38 --with-file=/usr/lib \
39 --with-neon=external \
40 --with-beecrypt=external \
42 --disable-build-lafiles
43 make DESTDIR="$pkgdir"
47 cd $srcdir/$pkgname-$pkgver
48 make DESTDIR="$pkgdir" install