aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
Diffstat (limited to 'main')
-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"