Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=5345c6327968864d0e724ca0e4acf2c2ccf81858

commit 5345c6327968864d0e724ca0e4acf2c2ccf81858
Author: Miklos Vajna <[EMAIL PROTECTED]>
Date:   Mon Nov 26 02:08:32 2007 +0100

db-4.5-4.5.20-1-i686
new package (older version of db for openldap)

diff --git a/source/lib-extra/db-4.5/FrugalBuild 
b/source/lib-extra/db-4.5/FrugalBuild
new file mode 100644
index 0000000..8dffe61
--- /dev/null
+++ b/source/lib-extra/db-4.5/FrugalBuild
@@ -0,0 +1,45 @@
+# Compiling Time: 1.31 SBU
+# Maintainer: VMiklos <[EMAIL PROTECTED]>
+
+pkgname=db-4.5
+pkgver=4.5.20
+pkgrel=1
+pkgdesc="The Berkeley DB embedded database system v4.5.x"
+url="http://www.sleepycat.com";
+depends=('libstdc++')
+groups=('lib-extra')
+archs=('i686' 'x86_64')
+up2date="$pkgver"
+source=(http://download.oracle.com/berkeley-db/db-$pkgver.tar.gz \
+       
http://www.oracle.com/technology/products/berkeley-db/db/update/4.5.20/patch.4.5.20.1
 \
+       
http://www.oracle.com/technology/products/berkeley-db/db/update/4.5.20/patch.4.5.20.2)
+sha1sums=('0e5a6c152c5d7089899481d9de689d1f7e77bde1' \
+          '0d55d4d7357b896bde91e096b40bfc100bb27d9d' \
+          'a3fcbc023489c059659f789d9473ac25d6d3a477')
+
+# this package is just for openldap, nothing else
+
+build()
+{
+       Fcd db-$pkgver
+       Fpatch patch.4.5.20.1
+       Fpatch patch.4.5.20.2
+       cd build_unix
+       ../dist/configure --prefix=/usr --enable-compat185 \
+               --enable-shared --disable-static --enable-cxx
+
+       make LIBSO_LIBS=-lpthread || return 1
+
+       Fmakeinstall includedir=$Fdestdir/usr/include/db-4.5
+
+       # conflicts with db
+       Frm /usr/docs
+       Frm /usr/lib/libdb{,_cxx}{,-4}.so
+       cd $Fdestdir/usr/bin
+       for i in *
+       do
+               mv $i db-4.5_${i/db_/}
+       done
+}
+
+# optimization ok
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to