aboutsummaryrefslogtreecommitdiffstats
path: root/main/db
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2011-07-01 09:23:19 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2011-07-01 09:23:19 +0000
commita78d341e1cff5fe0beedc4fcf345802c9a3104db (patch)
treed04505b67bfb7096ace09cd0ad6363f4d9e0ef1a /main/db
parent71b6ac0bdc2c67d89c52ac54330ff61e070dcb84 (diff)
downloadaports-a78d341e1cff5fe0beedc4fcf345802c9a3104db.tar.bz2
aports-a78d341e1cff5fe0beedc4fcf345802c9a3104db.tar.xz
main/db: remove *.la
Diffstat (limited to 'main/db')
-rw-r--r--main/db/APKBUILD5
1 files changed, 3 insertions, 2 deletions
diff --git a/main/db/APKBUILD b/main/db/APKBUILD
index f53ac2aab2..e245e03cb6 100644
--- a/main/db/APKBUILD
+++ b/main/db/APKBUILD
@@ -2,7 +2,7 @@
pkgname=db
pkgver=5.1.25
_ver=${pkgver}
-pkgrel=0
+pkgrel=1
pkgdesc="The Berkeley DB embedded database system 4.8"
url="http://www.oracle.com/technology/software/products/berkeley-db/index.html"
arch="all"
@@ -35,7 +35,8 @@ build () {
package() {
cd "$srcdir"/db-$_ver/build_unix
- make DESTDIR="$pkgdir" install
+ make DESTDIR="$pkgdir" install || return 1
+ rm "$pkgdir"/usr/lib/*.la || return 1
mkdir -p "$pkgdir"/usr/share/doc
mv "$pkgdir"/usr/docs "$pkgdir"/usr/share/doc/$pkgname