[arch-commits] Commit in db/repos (6 files)
Stéphane Gaudreault
stephane at archlinux.org
Tue Sep 20 16:16:07 UTC 2011
Date: Tuesday, September 20, 2011 @ 12:16:07
Author: stephane
Revision: 138357
archrelease: copy trunk to testing-i686, testing-x86_64
Added:
db/repos/testing-i686/
db/repos/testing-i686/PKGBUILD
(from rev 138356, db/trunk/PKGBUILD)
db/repos/testing-i686/db.install
(from rev 138356, db/trunk/db.install)
db/repos/testing-x86_64/
db/repos/testing-x86_64/PKGBUILD
(from rev 138356, db/trunk/PKGBUILD)
db/repos/testing-x86_64/db.install
(from rev 138356, db/trunk/db.install)
---------------------------+
testing-i686/PKGBUILD | 32 ++++++++++++++++++++++++++++++++
testing-i686/db.install | 5 +++++
testing-x86_64/PKGBUILD | 32 ++++++++++++++++++++++++++++++++
testing-x86_64/db.install | 5 +++++
4 files changed, 74 insertions(+)
Copied: db/repos/testing-i686/PKGBUILD (from rev 138356, db/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD (rev 0)
+++ testing-i686/PKGBUILD 2011-09-20 16:16:07 UTC (rev 138357)
@@ -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.2.36
+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=('1a7997e5bcdf504a439f90d9eaed63864806ed5f')
+
+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 -rf "${pkgdir}"/usr/docs
+ install -Dm644 "${srcdir}"/${pkgname}-${pkgver}/LICENSE \
+ "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
+}
Copied: db/repos/testing-i686/db.install (from rev 138356, db/trunk/db.install)
===================================================================
--- testing-i686/db.install (rev 0)
+++ testing-i686/db.install 2011-09-20 16:16:07 UTC (rev 138357)
@@ -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
+}
Copied: db/repos/testing-x86_64/PKGBUILD (from rev 138356, db/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2011-09-20 16:16:07 UTC (rev 138357)
@@ -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.2.36
+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=('1a7997e5bcdf504a439f90d9eaed63864806ed5f')
+
+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 -rf "${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 138356, db/trunk/db.install)
===================================================================
--- testing-x86_64/db.install (rev 0)
+++ testing-x86_64/db.install 2011-09-20 16:16:07 UTC (rev 138357)
@@ -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