# HG changeset patch
# User Antoine Bodin <gokhlayeh@slitaz.org>
# Date 1296084049 -3600
# Node ID 3cf1b9bc30318d0556caa358e5600de0f18e8c25
# Parent  6806fbb7d8bbc7360625abff440eb6d63c14cc0d
imported patch toolchain/db.patch

diff -r 6806fbb7d8bb -r 3cf1b9bc3031 db/receipt
--- a/db/receipt	Thu Jan 27 00:20:49 2011 +0100
+++ b/db/receipt	Thu Jan 27 00:20:49 2011 +0100
@@ -8,23 +8,17 @@
 TARBALL="$PACKAGE-$VERSION.NC.tar.gz"
 WEB_SITE="http://www.oracle.com/technology/software/products/berkeley-db/db/"
 WGET_URL="http://download.oracle.com/berkeley-db/$TARBALL"
-BUILD_DEPENDS="slitaz-toolchain patch"
+BUILD_DEPENDS="gcc"
 DEPENDS="glibc-base libdb"
 TAGS="database"
 
 # Rules to configure and make the package.
 compile_rules()
 {
-	mv $PACKAGE-$VERSION.NC $src
-	cd $src
-	cd build_unix
-	../dist/configure \
-		--enable-compat185 \
-		--prefix=/usr \
-		--infodir=/usr/share/info \
-		--mandir=/usr/share/man $CONFIGURE_ARGS &&
+	cd $src/build_unix
+	../dist/configure --enable-compat185 &&
 	make &&
-	make DESTDIR=$PWD/../_pkg install
+	make install
 }
 
 # Rules to gen a SliTaz package suitable for Tazpkg.