aboutsummaryrefslogtreecommitdiffstats
path: root/main/db/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2012-01-27 14:51:13 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2012-01-27 22:14:32 +0000
commit187af35150d234ff03773e9001b5ee8de6586a79 (patch)
treeebcc161f84ed1540e18ae562e9dd1cc9ff5e37fa /main/db/APKBUILD
parentc26e09771d5fb2c09b2b1ec309602bbc94548bf3 (diff)
downloadaports-187af35150d234ff03773e9001b5ee8de6586a79.tar.bz2
aports-187af35150d234ff03773e9001b5ee8de6586a79.tar.xz
main/db: upgrade to 5.3.15 and split out -utils subpackage
Diffstat (limited to 'main/db/APKBUILD')
-rw-r--r--main/db/APKBUILD17
1 files changed, 12 insertions, 5 deletions
diff --git a/main/db/APKBUILD b/main/db/APKBUILD
index fc51b1518a..74bd952598 100644
--- a/main/db/APKBUILD
+++ b/main/db/APKBUILD
@@ -1,18 +1,18 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=db
-pkgver=5.2.36
+pkgver=5.3.15
_ver=${pkgver}
pkgrel=0
-pkgdesc="The Berkeley DB embedded database system 4.8"
+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"
+subpackages="$pkgname-dev $pkgname-doc $pkgname-utils"
# 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
+source="http://download.oracle.com/berkeley-db/db-$pkgver.tar.gz
"
build () {
@@ -45,4 +45,11 @@ package() {
"$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}
-md5sums="88466dd6c13d5d8cddb406be8a1d4d92 db-5.2.36.tar.gz"
+utils() {
+ pkgdesc="Utils for The Berkeley DB embedded database system"
+ replaces="db"
+ mkdir -p "$subpkgdir"/usr/
+ mv "$pkgdir"/usr/bin "$subpkgdir"/usr/
+}
+
+md5sums="5493fb5f7cc3915887c836b096f18773 db-5.3.15.tar.gz"