diff options
Diffstat (limited to 'main/db')
-rw-r--r-- | main/db/APKBUILD | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/main/db/APKBUILD b/main/db/APKBUILD index 74bd952598..22264f9547 100644 --- a/main/db/APKBUILD +++ b/main/db/APKBUILD @@ -2,14 +2,14 @@ pkgname=db pkgver=5.3.15 _ver=${pkgver} -pkgrel=0 +pkgrel=1 pkgdesc="The Berkeley DB embedded database system" url="http://www.oracle.com/technology/software/products/berkeley-db/index.html" arch="all" license="custom" depends= makedepends= -subpackages="$pkgname-dev $pkgname-doc $pkgname-utils" +subpackages="$pkgname-dev $pkgname-doc $pkgname-utils $pkgname-c++:cxx" # Patches were found here: # http://www.oracle.com/technology/products/berkeley-db/db/update/4.7.25/patch.4.7.25.html source="http://download.oracle.com/berkeley-db/db-$pkgver.tar.gz @@ -28,8 +28,8 @@ build () { --mandir=/usr/share/man \ --enable-compat185 \ --enable-shared \ - --disable-static \ - --disable-cxx + --enable-cxx \ + --disable-static make LIBSO_LIBS=-lpthread || return 1 } @@ -52,4 +52,10 @@ utils() { mv "$pkgdir"/usr/bin "$subpkgdir"/usr/ } +cxx() { + pkgdesc="C++ binding for libdb" + mkdir -p "$subpkgdir"/usr/lib + mv "$pkgdir"/usr/lib/libdb_cxx*.so "$subpkgdir"/usr/lib/ +} + md5sums="5493fb5f7cc3915887c836b096f18773 db-5.3.15.tar.gz" |