diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2011-07-01 09:21:16 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2011-07-01 09:21:16 +0000 |
commit | 1848bea72577fad501069aab5e54ccef85bcdd23 (patch) | |
tree | c1a1c5922b341cd0806eac1b8879a71266b1ff7a | |
parent | 72222f5fb2b7c7b4c22183303e4973085aea8bd8 (diff) | |
download | aports-1848bea72577fad501069aab5e54ccef85bcdd23.tar.bz2 aports-1848bea72577fad501069aab5e54ccef85bcdd23.tar.xz |
main/openldap: remove *.la
-rw-r--r-- | main/openldap/APKBUILD | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/main/openldap/APKBUILD b/main/openldap/APKBUILD index 055b82a57e..51961c8bc1 100644 --- a/main/openldap/APKBUILD +++ b/main/openldap/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=openldap pkgver=2.4.25 -pkgrel=1 +pkgrel=2 pkgdesc="LDAP Server" url="http://www.openldap.org/" arch="all" @@ -66,7 +66,9 @@ build () { package() { cd "$srcdir"/$pkgname-$pkgver - make DESTDIR="$pkgdir" install + make DESTDIR="$pkgdir" install || return 1 + rm "$pkgdir"/usr/lib/openldap/*.la \ + "$pkgdir"/usr/lib/*.la || return 1 install -d "$pkgdir"/var/run/openldap sed -i -e 's:/var/lib/openldap/run:/var/run/openldap:g' \ |