summaryrefslogtreecommitdiffstats
path: root/main/net-snmp
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2011-07-01 09:05:38 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2011-07-01 09:05:38 +0000
commitf60bf1ffc74f9de21af532213d45076278de59df (patch)
tree731cc0f572559d89d9c9779929ac7af14218d0a8 /main/net-snmp
parentdfe198aaf7604a553b0162664c014ab2e8294c7d (diff)
downloadaports-f60bf1ffc74f9de21af532213d45076278de59df.tar.bz2
aports-f60bf1ffc74f9de21af532213d45076278de59df.tar.xz
main/net-snmp: remove *.la
Diffstat (limited to 'main/net-snmp')
-rw-r--r--main/net-snmp/APKBUILD5
1 files changed, 3 insertions, 2 deletions
diff --git a/main/net-snmp/APKBUILD b/main/net-snmp/APKBUILD
index 5256e060d..083f65e96 100644
--- a/main/net-snmp/APKBUILD
+++ b/main/net-snmp/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Carlo Landmeter <clandmeter@gmail.com>
pkgname=net-snmp
pkgver=5.6.1
-pkgrel=1
+pkgrel=2
pkgdesc="Simple Network Management Protocol"
url="http://www.net-snmp.org/"
arch="all"
@@ -50,7 +50,8 @@ build() {
package() {
cd "$_builddir"
- make -j1 DESTDIR="$pkgdir" install
+ make -j1 DESTDIR="$pkgdir" install || return 1
+ rm "$pkgdir"/usr/lib/*.la || return 1
install -m755 -D "$srcdir"/snmpd.initd "$pkgdir"/etc/init.d/snmpd
install -m644 -D "$srcdir"/snmpd.confd "$pkgdir"/etc/conf.d/snmpd