aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main/ntop/APKBUILD3
1 files changed, 2 insertions, 1 deletions
diff --git a/main/ntop/APKBUILD b/main/ntop/APKBUILD
index 945c7dc8a6..caec386033 100644
--- a/main/ntop/APKBUILD
+++ b/main/ntop/APKBUILD
@@ -38,7 +38,8 @@ build() {
package() {
cd "$_builddir"
- make DESTDIR="$pkgdir" install
+ make DESTDIR="$pkgdir" install || return 1
+ rm "$pkgdir"/usr/lib/*.la
install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname
install -m644 -D "$srcdir"/$pkgname.confd "$pkgdir"/etc/conf.d/$pkgname