diff options
author | Lukc <lukc@upyum.com> | 2010-12-21 04:49:20 +0100 |
---|---|---|
committer | Lukc <lukc@upyum.com> | 2010-12-21 04:49:20 +0100 |
commit | 0482ba9203788601d4e4c01dbd883835db23f47e (patch) | |
tree | 84caa8960e8afeafcd8682aca9150679354e1258 /db/Pkgfile | |
parent | 71e65e12beec2ebe03e1796acf5ed400dd0a4da0 (diff) | |
download | base-0482ba9203788601d4e4c01dbd883835db23f47e.tar.gz base-0482ba9203788601d4e4c01dbd883835db23f47e.tar.bz2 base-0482ba9203788601d4e4c01dbd883835db23f47e.tar.xz base-0482ba9203788601d4e4c01dbd883835db23f47e.zip |
Recette de db mise à jour.
Diffstat (limited to 'db/Pkgfile')
-rw-r--r-- | db/Pkgfile | 25 |
1 files changed, 16 insertions, 9 deletions
@@ -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 <core-ports AT crux DOT nu>" +maintainer="Lukc <lukc AT upyum DOT com>" 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 } |