main/vde2: remove all *.la files

This commit is contained in:
Leonardo Arena 2014-04-24 12:06:06 +00:00
parent 61a7a1b77a
commit 52ba2dbe9e

View File

@ -1,7 +1,7 @@
# Maintainer: Michael Zhou <zhoumichaely@gmail.com>
pkgname=vde2
pkgver=2.3.2
pkgrel=2
pkgrel=3
pkgdesc="VDE: Virtual Distributed Ethernet. User mode networking for QEMU, UML, etc."
url="http://vde.sf.net"
arch="all"
@ -44,10 +44,7 @@ build() {
package() {
cd "$_builddir"
make -j1 DESTDIR="$pkgdir" install || return 1
rm "$pkgdir"/usr/lib/*.la \
"$pkgdir"/usr/lib/vde2/*.la \
"$pkgdir"/usr/lib/vde2/*/*.la \
|| return 1
find "$pkgdir" -iname *.la -delete
install -Dm755 "$srcdir"/vde2.pre-up \
"$pkgdir"/etc/network/if-pre-up.d/vde2 || return 1