aboutsummaryrefslogtreecommitdiffstats
path: root/main/net-snmp/APKBUILD
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/APKBUILD
parentdfe198aaf7604a553b0162664c014ab2e8294c7d (diff)
downloadaports-f60bf1ffc74f9de21af532213d45076278de59df.tar.bz2
aports-f60bf1ffc74f9de21af532213d45076278de59df.tar.xz
main/net-snmp: remove *.la
Diffstat (limited to 'main/net-snmp/APKBUILD')
-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 5256e060dc..083f65e960 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