aboutsummaryrefslogtreecommitdiffstats
path: root/main/gdbm/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-07-15 06:59:19 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-07-15 06:59:19 +0000
commitf0004b0afc78359e5c730aad0b16d99c7b382705 (patch)
tree46f022007e58e9b27794710a872936e3be4a1f7b /main/gdbm/APKBUILD
parentd85fda6bf817ebac79e7c076cfb9506c74cb971a (diff)
downloadaports-f0004b0afc78359e5c730aad0b16d99c7b382705.tar.gz
aports-f0004b0afc78359e5c730aad0b16d99c7b382705.tar.bz2
aports-f0004b0afc78359e5c730aad0b16d99c7b382705.tar.xz
main/gdbm: move .so to -dev package
ref #384
Diffstat (limited to 'main/gdbm/APKBUILD')
-rw-r--r--main/gdbm/APKBUILD6
1 files changed, 5 insertions, 1 deletions
diff --git a/main/gdbm/APKBUILD b/main/gdbm/APKBUILD
index a24bfb1f47..f7d3a5d3ed 100644
--- a/main/gdbm/APKBUILD
+++ b/main/gdbm/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Carlo Landmeter <clandmeter@gmail.com>
pkgname=gdbm
pkgver=1.8.3
-pkgrel=1
+pkgrel=2
pkgdesc="GNU dbm is a set of database routines that use extensible hashing"
url="http://www.gnu.org/software/gdbm/"
license="GPL"
@@ -28,6 +28,10 @@ build() {
--disable-dependency-tracking \
--enable-fast-install
make || return 1
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
make INSTALL_ROOT="$pkgdir" install || return 1
make INSTALL_ROOT="$pkgdir" install-compat || return 1
mv "${pkgdir}"/usr/include/gdbm/gdbm.h "${pkgdir}"/usr/include/