diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2011-07-01 09:05:38 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2011-07-01 09:05:38 +0000 |
commit | f60bf1ffc74f9de21af532213d45076278de59df (patch) | |
tree | 731cc0f572559d89d9c9779929ac7af14218d0a8 /main/net-snmp/APKBUILD | |
parent | dfe198aaf7604a553b0162664c014ab2e8294c7d (diff) | |
download | aports-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/APKBUILD | 5 |
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 |