[Frugalware-git] frugalware-current: db-4.5-4.5.20-2-i686
Miklos Vajna
vmiklos at frugalware.org
Mon Nov 26 15:42:55 CET 2007
Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=b8fb93703f63fa502a218eba014c035c60abf585
commit b8fb93703f63fa502a218eba014c035c60abf585
Author: Miklos Vajna <vmiklos at frugalware.org>
Date: Mon Nov 26 15:42:25 2007 +0100
db-4.5-4.5.20-2-i686
revert groups() change, it was not a good idea
diff --git a/source/lib-extra/db-4.5/FrugalBuild b/source/lib-extra/db-4.5/FrugalBuild
new file mode 100644
index 0000000..d85b6f3
--- /dev/null
+++ b/source/lib-extra/db-4.5/FrugalBuild
@@ -0,0 +1,45 @@
+# Compiling Time: 1.31 SBU
+# Maintainer: VMiklos <vmiklos at frugalware.org>
+
+pkgname=db-4.5
+pkgver=4.5.20
+pkgrel=2
+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
+
+ make prefix=$Fdestdir/usr includedir=$Fdestdir/usr/include/$pkgname install
+
+ # 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
diff --git a/source/lib/db-4.5/FrugalBuild b/source/lib/db-4.5/FrugalBuild
deleted file mode 100644
index bd351b7..0000000
--- a/source/lib/db-4.5/FrugalBuild
+++ /dev/null
@@ -1,45 +0,0 @@
-# Compiling Time: 1.31 SBU
-# Maintainer: VMiklos <vmiklos at frugalware.org>
-
-pkgname=db-4.5
-pkgver=4.5.20
-pkgrel=2
-pkgdesc="The Berkeley DB embedded database system v4.5.x"
-url="http://www.sleepycat.com"
-depends=('libstdc++')
-groups=('lib')
-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
-
- make prefix=$Fdestdir/usr includedir=$Fdestdir/usr/include/$pkgname install
-
- # 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
More information about the Frugalware-git
mailing list