[arch-commits] Commit in db/repos (4 files)
Stéphane Gaudreault
stephane at archlinux.org
Fri Jun 1 10:23:18 UTC 2012
Date: Friday, June 1, 2012 @ 06:23:18
Author: stephane
Revision: 160337
db-move: moved db from [staging] to [testing] (x86_64)
Added:
db/repos/testing-x86_64/
db/repos/testing-x86_64/PKGBUILD
(from rev 160335, db/repos/staging-x86_64/PKGBUILD)
db/repos/testing-x86_64/db.install
(from rev 160335, db/repos/staging-x86_64/db.install)
Deleted:
db/repos/staging-x86_64/
------------+
PKGBUILD | 32 ++++++++++++++++++++++++++++++++
db.install | 5 +++++
2 files changed, 37 insertions(+)
Copied: db/repos/testing-x86_64/PKGBUILD (from rev 160335, db/repos/staging-x86_64/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2012-06-01 10:23:18 UTC (rev 160337)
@@ -0,0 +1,32 @@
+# $Id$
+# Maintainer: Stéphane Gaudreault <stephane at archlinux.org>
+# Contributor: Allan McRae <allan at archlinux.org>
+# Contributor: Andreas Radke <andyrtr at archlinux.org>
+
+pkgname=db
+pkgver=5.3.21
+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=('32e43c4898c8996750c958a90c174bd116fcba83')
+
+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
+}
Copied: db/repos/testing-x86_64/db.install (from rev 160335, db/repos/staging-x86_64/db.install)
===================================================================
--- testing-x86_64/db.install (rev 0)
+++ testing-x86_64/db.install 2012-06-01 10:23:18 UTC (rev 160337)
@@ -0,0 +1,5 @@
+post_upgrade() {
+ if [ "$(vercmp $2 5.1)" -lt 0 ]; then
+ echo " >> Major version update. Consider running db_upgrade on Berkeley DB databases."
+ fi
+}
More information about the arch-commits
mailing list