diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2011-07-01 09:01:42 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2011-07-01 09:01:42 +0000 |
commit | a382c390d476fa65c2ac432696e95318b763da0e (patch) | |
tree | 0ec70f0ea35287f03a495651120e6bb9b93de9ef /main/collectd | |
parent | e8993bab9dab71366604a2890eb3f796073823cb (diff) | |
download | aports-a382c390d476fa65c2ac432696e95318b763da0e.tar.bz2 aports-a382c390d476fa65c2ac432696e95318b763da0e.tar.xz |
main/collectd: remove *.la
Diffstat (limited to 'main/collectd')
-rw-r--r-- | main/collectd/APKBUILD | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/main/collectd/APKBUILD b/main/collectd/APKBUILD index 05bbf12c9..6d0a51258 100644 --- a/main/collectd/APKBUILD +++ b/main/collectd/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: pkgname=collectd pkgver=5.0.0 -pkgrel=1 +pkgrel=2 pkgdesc="The system statistics collection daemon" url="http://collectd.org" arch="all" @@ -52,7 +52,9 @@ build() { package() { cd "$_builddir" - make DESTDIR="$pkgdir" install + make DESTDIR="$pkgdir" install || return 1 + rm "$pkgdir"/usr/lib/*.la \ + "$pkgdir"/usr/lib/collectd/*.la || return 1 find "$pkgdir" -name perllocal.pod -delete install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname |