summaryrefslogtreecommitdiffstats
path: root/base/db/Pkgfile
diff options
context:
space:
mode:
authorThierry N <thierryn1 at hispeed dot ch>2009-08-07 13:42:54 +0200
committerThierry N <thierryn1 at hispeed dot ch>2009-08-07 13:42:54 +0200
commit5b28acd1367ab806c116e5cc402f5290f8096b3a (patch)
treec87070b4d12b776b1d384160d10401f5b2456e0e /base/db/Pkgfile
parent4f1b3f34ab24460683cc6f2f9b86b80678ebb765 (diff)
downloadnutyx-pakxe-5b28acd1367ab806c116e5cc402f5290f8096b3a.tar.gz
nutyx-pakxe-5b28acd1367ab806c116e5cc402f5290f8096b3a.tar.bz2
nutyx-pakxe-5b28acd1367ab806c116e5cc402f5290f8096b3a.tar.xz
nutyx-pakxe-5b28acd1367ab806c116e5cc402f5290f8096b3a.zip
Ajout de db#4.7.25-1
Diffstat (limited to 'base/db/Pkgfile')
-rwxr-xr-xbase/db/Pkgfile27
1 files changed, 27 insertions, 0 deletions
diff --git a/base/db/Pkgfile b/base/db/Pkgfile
new file mode 100755
index 000000000..94299ef80
--- /dev/null
+++ b/base/db/Pkgfile
@@ -0,0 +1,27 @@
+# Description: La base de données de Berkeley DB
+# URL: http://www.sleepycat.com/products/db.shtml
+# Maintainer: NuTyX core team
+# Packager: thierryn1 at hispeed dot ch
+# Depends on: gcc
+
+name=db
+version=4.7.25
+release=1
+source=(http://download.oracle.com/berkeley-db/$name-$version.tar.gz \
+ http://www.linuxfromscratch.org/patches/lfs/development/$name-$version-upstream_fixes-1.patch)
+
+build() {
+ cd $name-$version
+ patch -Np1 -i ../$name-$version-upstream_fixes-1.patch
+ cd build_unix
+ ../dist/configure --prefix=/usr \
+ --enable-compat185 \
+ --enable-cxx
+ make
+ make DESTDIR=$PKG install
+ rm -rf $PKG/usr/docs
+ chmod -R +w $PKG
+ if [ -f $PKG/usr/share/info/dir ]; then
+ rm $PKG/usr/share/info/dir
+ fi
+}