summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2011-06-29 14:10:46 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2011-06-29 14:10:46 +0000
commit2a952ce37387865b50728a773ce72993a06270e8 (patch)
tree7011776511ab5d2e578a3d4dae27406beb25183d
parenta52ac7a826876c3830a9171dfefd94d6807fcd3f (diff)
downloadaports-2a952ce37387865b50728a773ce72993a06270e8.tar.bz2
aports-2a952ce37387865b50728a773ce72993a06270e8.tar.xz
main/libvirt: remove *.la
-rw-r--r--main/libvirt/APKBUILD5
1 files changed, 3 insertions, 2 deletions
diff --git a/main/libvirt/APKBUILD b/main/libvirt/APKBUILD
index 82db19701..5f0594f17 100644
--- a/main/libvirt/APKBUILD
+++ b/main/libvirt/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Leonardo Arena <rnalrd@gmail.com>
pkgname=libvirt
pkgver=0.9.2
-pkgrel=1
+pkgrel=2
pkgdesc="A virtualization API for several hypervisor and container systems"
url="http://libvirt.org/"
arch="all"
@@ -37,7 +37,8 @@ build() {
package() {
cd "$_builddir"
- make DESTDIR="$pkgdir" install
+ make DESTDIR="$pkgdir" install || return 1
+ rm "$pkgdir"/usr/lib/*.la || return 1
install -D -m755 $srcdir/$pkgname.initd $pkgdir/etc/init.d/libvirtd
install -D -m755 $srcdir/$pkgname.confd $pkgdir/etc/conf.d/libvirtd
}