summaryrefslogtreecommitdiff
path: root/testing/db/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-01-10 23:15:00 +0000
committerroot <root@rshg054.dnsready.net>2012-01-10 23:15:00 +0000
commitb8012183bbaae70ce4a714c618a967e85df9f521 (patch)
tree1df6f612c4f75faa9f54467e0a856bcdde0b6a1a /testing/db/PKGBUILD
parentfdcaf644692e151ddc596b148465ce4a77e6b670 (diff)
Tue Jan 10 23:14:59 UTC 2012
Diffstat (limited to 'testing/db/PKGBUILD')
-rw-r--r--testing/db/PKGBUILD32
1 files changed, 32 insertions, 0 deletions
diff --git a/testing/db/PKGBUILD b/testing/db/PKGBUILD
new file mode 100644
index 000000000..00bb4163e
--- /dev/null
+++ b/testing/db/PKGBUILD
@@ -0,0 +1,32 @@
+# $Id: PKGBUILD 146331 2012-01-09 18:52:15Z stephane $
+# Maintainer: Stéphane Gaudreault <stephane@archlinux.org>
+# Contributor: Allan McRae <allan@archlinux.org>
+# Contributor: Andreas Radke <andyrtr@archlinux.org>
+
+pkgname=db
+pkgver=5.3.15
+pkgrel=1
+pkgdesc="The Berkeley DB embedded database system"
+arch=('i686' 'x86_64')
+url="http://www.oracle.com/technology/software/products/berkeley-db/index.html"
+license=('custom')
+depends=('gcc-libs' 'sh')
+options=('!libtool')
+install=db.install
+source=(http://download.oracle.com/berkeley-db/db-${pkgver}.tar.gz)
+sha1sums=('7683b632a01ff3543c379a120809a942ec457738')
+
+build() {
+ cd "${srcdir}/$pkgname-${pkgver}/build_unix"
+ ../dist/configure --prefix=/usr --enable-compat185 \
+ --enable-shared --enable-static --enable-cxx --enable-dbm
+ make LIBSO_LIBS=-lpthread
+}
+
+package() {
+ cd "${srcdir}/$pkgname-${pkgver}/build_unix"
+ make DESTDIR="${pkgdir}" install
+ rm -r "${pkgdir}"/usr/docs
+ install -Dm644 "${srcdir}"/${pkgname}-${pkgver}/LICENSE \
+ "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
+}