wok diff db/receipt @ rev 3930

Update: binutils (toolprefixed binaries with default binutil symlinks; needed for builds expecting toolprefixed binutil binaries when a target platform [e.g. i486-pc-linux-gnu] is specified)
author Matthew Sheets <rcx@zoominternet.net>
date Wed Aug 19 16:02:07 2009 +0000 (2009-08-19)
parents 749730241669
children 55ebdca75e49
line diff
     1.1 --- a/db/receipt	Tue Mar 10 11:52:45 2009 +0000
     1.2 +++ b/db/receipt	Wed Aug 19 16:02:07 2009 +0000
     1.3 @@ -1,30 +1,32 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="db"
     1.7 -VERSION="4.5.20"
     1.8 +VERSION="4.7.25"
     1.9  CATEGORY="misc"
    1.10  SHORT_DESC="Berkeley database system."
    1.11  MAINTAINER="pascal.bellard@slitaz.org"
    1.12  TARBALL="$PACKAGE-$VERSION.NC.tar.gz"
    1.13  WEB_SITE="http://www.oracle.com/technology/software/products/berkeley-db/db/"
    1.14  WGET_URL="http://download.oracle.com/berkeley-db/$TARBALL"
    1.15 -BUILD_DEPENDS="patch"
    1.16 -DEPENDS="libdb"
    1.17 +BUILD_DEPENDS="slitaz-toolchain patch"
    1.18 +DEPENDS="glibc-base libdb"
    1.19  
    1.20  # Rules to configure and make the package.
    1.21  compile_rules()
    1.22  {
    1.23 -	if [ -L $(which patch) ]; then
    1.24 -		echo "Please reinstall patch !"
    1.25 -		return 1
    1.26 -	fi
    1.27 -	ln -s $PACKAGE-$VERSION.NC $src
    1.28 +#	if [ -L $(which patch) ]; then
    1.29 +#		echo "Please reinstall patch !"
    1.30 +#		return 1
    1.31 +#	fi
    1.32 +	mv $PACKAGE-$VERSION.NC $src
    1.33  	cd $src
    1.34 -	wget  http://www.oracle.com/technology/products/berkeley-db/db/update/4.5.20/patch.4.5.20.1 || return 1
    1.35 -	[ -f done.patch.4.5.20.1 ] || patch -p0 < patch.4.5.20.1
    1.36 -	touch done.patch.4.5.20.1
    1.37 +#	wget  http://www.oracle.com/technology/products/berkeley-db/db/update/4.5.20/patch.4.5.20.1 || return 1
    1.38 +#	[ -f done.patch.4.5.20.1 ] || patch -p0 < patch.4.5.20.1
    1.39 +#	touch done.patch.4.5.20.1
    1.40  	cd build_unix
    1.41 -	../dist/configure --prefix=/usr --infodir=/usr/share/info \
    1.42 +	../dist/configure \
    1.43 +		--prefix=/usr \
    1.44 +		--infodir=/usr/share/info \
    1.45  		--mandir=/usr/share/man $CONFIGURE_ARGS &&
    1.46  	make &&
    1.47  	make DESTDIR=$PWD/../_pkg install
    1.48 @@ -42,7 +44,7 @@
    1.49  	done
    1.50  }
    1.51  
    1.52 -clean_wok()
    1.53 -{
    1.54 -	rm -rf PACKAGE-$VERSION.NC
    1.55 -}
    1.56 +#clean_wok()
    1.57 +#{
    1.58 +#	rm -rf PACKAGE-$VERSION.NC
    1.59 +#}