aboutsummaryrefslogtreecommitdiffstats
path: root/main/db/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-11-24 09:45:23 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-11-24 09:45:23 +0000
commitb9364a3d1c04a1fbbcc4767ce255d1a875248e62 (patch)
tree848a1815e5369194648d2b72c4e358eefd90c311 /main/db/APKBUILD
parent816375d72caa54846fa92ee50e494025f65c34df (diff)
downloadaports-b9364a3d1c04a1fbbcc4767ce255d1a875248e62.tar.bz2
aports-b9364a3d1c04a1fbbcc4767ce255d1a875248e62.tar.xz
main/db: upgrade to 4.8.24
Diffstat (limited to 'main/db/APKBUILD')
-rw-r--r--main/db/APKBUILD21
1 files changed, 9 insertions, 12 deletions
diff --git a/main/db/APKBUILD b/main/db/APKBUILD
index 00940e41c6..601448208a 100644
--- a/main/db/APKBUILD
+++ b/main/db/APKBUILD
@@ -1,9 +1,9 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=db
-pkgver=4.7.25.4
-_ver=${pkgver%.*}
+pkgver=4.8.24
+_ver=${pkgver}
pkgrel=0
-pkgdesc="The Berkeley DB embedded database system 4.7"
+pkgdesc="The Berkeley DB embedded database system 4.8"
url="http://www.oracle.com/technology/software/products/berkeley-db/index.html"
license="custom"
depends=
@@ -12,15 +12,12 @@ subpackages="$pkgname-dev $pkgname-doc"
# 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-uk.oracle.com/berkeley-db/db-$_ver.tar.gz
- patch.$_ver.1
- patch.$_ver.2
- patch.$_ver.3
- patch.$_ver.4
"
build () {
cd "$srcdir"/db-$_ver
for i in ../patch.*; do
+ [ -r "$i" ] || continue
msg "Applying $i..."
patch -p0 < $i || return 1
done
@@ -33,6 +30,10 @@ build () {
--disable-static \
--disable-cxx
make LIBSO_LIBS=-lpthread || return 1
+}
+
+package() {
+ cd "$srcdir"/db-$_ver/build_unix
make DESTDIR="$pkgdir" install
mkdir -p "$pkgdir"/usr/share/doc
@@ -42,8 +43,4 @@ build () {
"$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}
-md5sums="ec2b87e833779681a0c3a814aa71359e db-4.7.25.tar.gz
-5fdf101259e5164dea1c8c86214fde38 patch.4.7.25.1
-bd410a11c71fee52fddb6aa2d8d4f80c patch.4.7.25.2
-6fcd69f64f5b34bfe8f0a63cc2e402c1 patch.4.7.25.3
-42c5d1a727e4a7f59b9dce12ff2f6b84 patch.4.7.25.4"
+md5sums="147afdecf438ff99ade105a5272db158 db-4.8.24.tar.gz"