From 0482ba9203788601d4e4c01dbd883835db23f47e Mon Sep 17 00:00:00 2001 From: Lukc Date: Tue, 21 Dec 2010 04:49:20 +0100 Subject: Recette de db mise à jour. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- db/Pkgfile | 25 ++++++++++++++++--------- 1 file changed, 16 insertions(+), 9 deletions(-) (limited to 'db') diff --git a/db/Pkgfile b/db/Pkgfile index 0bef5a6..a1857a5 100644 --- a/db/Pkgfile +++ b/db/Pkgfile @@ -1,6 +1,6 @@ -description="Berkeley DB" -packager="" -maintainer="CRUX System Team, core-ports at crux dot nu" +description="Berkeley DB." +packager="CRUX System Team " +maintainer="Lukc " url="http://www.oracle.com/database/berkeley-db/index.html" depends=() @@ -10,10 +10,17 @@ release=1 source=(http://download.oracle.com/berkeley-db/db-4.8.30.tar.gz) build () { - cd $name-$version/build_unix; - ../dist/configure --prefix=/usr --enable-compat185 --enable-shared --enable-static --enable-cxx; - make; - make DESTDIR=$PKG install; - rm -r $PKG/usr/docs; - chmod -R +w $PKG + cd $name-$version/build_unix; + ../dist/configure \ + ${CHOST:+--build=${CHOST}} \ + ${CTARGET:+--host=${CTARGET}} \ + --prefix=$prefix \ + --enable-compat185 \ + --enable-shared \ + --enable-static \ + --enable-cxx; + make; + make DESTDIR=$PKG install; + rm -r $PKG/usr/docs; + chmod -R +w $PKG } -- cgit v1.2.3-70-g09d2