aboutsummaryrefslogtreecommitdiffstats
path: root/main/libnetcf
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2011-06-29 14:35:07 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2011-06-29 14:35:07 +0000
commit14da9cb8c99deb3581d9ba3786f24a18a7d70dbd (patch)
treeff0ac968ce9a2ade515119225e923f52f9164b7d /main/libnetcf
parent8d6f7e75f3d7d1cdf6aa0b1eb1a178d64dc5c9bf (diff)
downloadaports-14da9cb8c99deb3581d9ba3786f24a18a7d70dbd.tar.bz2
aports-14da9cb8c99deb3581d9ba3786f24a18a7d70dbd.tar.xz
main/libnetcf: remove *.la
Diffstat (limited to 'main/libnetcf')
-rw-r--r--main/libnetcf/APKBUILD9
1 files changed, 3 insertions, 6 deletions
diff --git a/main/libnetcf/APKBUILD b/main/libnetcf/APKBUILD
index 5826de127c..5e27adda44 100644
--- a/main/libnetcf/APKBUILD
+++ b/main/libnetcf/APKBUILD
@@ -3,7 +3,7 @@
pkgname=libnetcf
_realname=netcf
pkgver=0.1.7
-pkgrel=0
+pkgrel=1
pkgdesc="Cross-platform network configuration library"
arch="all"
url="https://fedorahosted.org/released/netcf"
@@ -33,11 +33,8 @@ build() {
package() {
cd "$_builddir"
- make DESTDIR="$pkgdir" install
-
- # remove the 2 lines below (and this) if there is no init.d script
- # install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname
- # install -m644 -D "$srcdir"/$pkgname.confd "$pkgdir"/etc/conf.d/$pkgname
+ make DESTDIR="$pkgdir" install || return 1
+ rm "$pkgdir"/usr/lib/*.la || return 1
}
md5sums="8e313b623c907eb035cf3948b71fecc2 netcf-0.1.7.tar.gz"