aboutsummaryrefslogtreecommitdiffstats
path: root/main/vde2/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2012-04-25 12:08:36 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2012-04-25 12:08:36 +0000
commit0e43c2929dca6fe67a4182b0a5190acf3fa32f44 (patch)
tree1999d72bec5ea3beeccba1c12e058ff00dfda724 /main/vde2/APKBUILD
parent8709a9c7796134f03229c38d11be9d0d45ee40fd (diff)
downloadaports-0e43c2929dca6fe67a4182b0a5190acf3fa32f44.tar.bz2
aports-0e43c2929dca6fe67a4182b0a5190acf3fa32f44.tar.xz
main/vde2: upgrade to 2.3.2
Diffstat (limited to 'main/vde2/APKBUILD')
-rw-r--r--main/vde2/APKBUILD14
1 files changed, 8 insertions, 6 deletions
diff --git a/main/vde2/APKBUILD b/main/vde2/APKBUILD
index 38e994f7cc..76a6794871 100644
--- a/main/vde2/APKBUILD
+++ b/main/vde2/APKBUILD
@@ -1,16 +1,16 @@
# Maintainer: Michael Zhou <zhoumichaely@gmail.com>
pkgname=vde2
-pkgver=2.3.1
-pkgrel=5
+pkgver=2.3.2
+pkgrel=0
pkgdesc="VDE: Virtual Distributed Ethernet. User mode networking for QEMU, UML, etc."
url="http://vde.sf.net"
arch="all"
license="GPL"
depends="openssl"
install="vde2.pre-install"
-makedepends="openssl-dev libpcap-dev"
+makedepends="openssl-dev libpcap-dev python"
subpackages="$pkgname-doc $pkgname-dev $pkgname-libs"
-source="http://downloads.sourceforge.net/project/vde/vde2/2.3.1/vde2-2.3.1.tar.gz
+source="http://downloads.sourceforge.net/project/vde/vde2/$pkgver/vde2-$pkgver.tar.gz
vde2.pre-up
vde2.post-down
"
@@ -22,12 +22,14 @@ build() {
./configure --prefix=/usr \
--sysconfdir=/etc \
|| return 1
+ make -C src/common || return 1
+ make -j1 -C src/lib || return 1
make || return 1
}
package() {
cd "$_builddir"
- make DESTDIR="$pkgdir" install || return 1
+ make -j1 DESTDIR="$pkgdir" install || return 1
rm "$pkgdir"/usr/lib/*.la \
"$pkgdir"/usr/lib/vde2/*.la \
"$pkgdir"/usr/lib/vde2/*/*.la \
@@ -45,6 +47,6 @@ libs() {
mv "$pkgdir"/usr/lib/lib*.so.* "$subpkgdir"/usr/lib/
}
-md5sums="c8c2acb92a72f779e0b484b1543a1cc3 vde2-2.3.1.tar.gz
+md5sums="d3f3e979558e396b8405c4613df9dfa0 vde2-2.3.2.tar.gz
e484324d93baf668d7ec756f36ebf389 vde2.pre-up
d9a32a3e77e64a265e00df5ab1081672 vde2.post-down"