wok-stable diff rpm4/receipt @ rev 8052

Up: dmidecode to 2.11.
author Christopher Rogers <slaxemulator@gmail.com>
date Thu Jan 20 16:11:01 2011 +0000 (2011-01-20)
parents c161b9c835d2
children 32bbe656f4ef
line diff
     1.1 --- a/rpm4/receipt	Fri Jul 09 20:33:27 2010 +0200
     1.2 +++ b/rpm4/receipt	Thu Jan 20 16:11:01 2011 +0000
     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()