wok rev 7441

Up rpm4 (4.8.1)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Nov 29 18:26:28 2010 +0100 (2010-11-29)
parents e09be8676c88
children 807b0398a327
files rpm4/receipt
line diff
     1.1 --- a/rpm4/receipt	Mon Nov 29 17:35:51 2010 +0100
     1.2 +++ b/rpm4/receipt	Mon Nov 29 18:26:28 2010 +0100
     1.3 @@ -1,29 +1,32 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="rpm4"
     1.7 -VERSION="4.4.2.3"
     1.8 +VERSION="4.8.1"
     1.9  CATEGORY="system-tools"
    1.10  SHORT_DESC="RPM Package Manager"
    1.11  MAINTAINER="erjo@slitaz.org"
    1.12  DEPENDS="popt beecrypt bzlib expat sqlite zlib gcc-lib-base neon libkrb5 \
    1.13 -libcomerr3"
    1.14 -BUILD_DEPENDS="beecrypt beecrypt-dev popt-dev gettext zlib-dev python-dev"
    1.15 +libcomerr3 nss nspr db liblzma"
    1.16 +BUILD_DEPENDS="beecrypt beecrypt-dev popt-dev gettext zlib-dev python-dev \
    1.17 +nss-dev nspr-dev db-dev liblzma-dev"
    1.18  SOURCE="rpm"
    1.19 -TARBALL="$SOURCE-$VERSION.tar.gz"
    1.20 +TARBALL="$SOURCE-$VERSION.tar.bz2"
    1.21  WEB_SITE="http://www.rpm.org/"
    1.22 -WGET_URL="http://www.rpm.org/releases/rpm-4.4.x/$TARBALL"
    1.23 +WGET_URL="http://www.rpm.org/releases/rpm-${VERSION:0:3}.x/$TARBALL"
    1.24  TAGS="package-manager"
    1.25  
    1.26  # Rules to configure and make the package.
    1.27  compile_rules()
    1.28  {
    1.29  	cd $src
    1.30 -	./configure --prefix=/usr  \
    1.31 +	CPPFLAGS="-I/usr/include/nspr -I/usr/include/nss" ./configure \
    1.32 +	--prefix=/usr  \
    1.33  	 --infodir=/usr/share/info \
    1.34  	 --with-selinux=no \
    1.35  	 --with-lua=no \
    1.36  	 --with-dmalloc=no \
    1.37  	 --with-efence=no \
    1.38 +	 --with-external-db \
    1.39  	 --mandir=/usr/share/man $CONFIGURE_ARGS &&
    1.40  	make -j 4 &&
    1.41  	make DESTDIR=$PWD/_pkg install
    1.42 @@ -45,7 +48,6 @@
    1.43  	cp -a $_pkg/bin/* $fs/usr/bin
    1.44  	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    1.45  	cp -a $_pkg/usr/lib/rpm $fs/usr/lib
    1.46 -	rm $fs/usr/lib/libpopt.so.0*
    1.47  }
    1.48  
    1.49  post_install()