diff options
author | Sören Tempel <soeren+git@soeren-tempel.net> | 2016-10-10 20:53:17 +0200 |
---|---|---|
committer | Sören Tempel <soeren+git@soeren-tempel.net> | 2016-10-10 20:53:30 +0200 |
commit | 2b8d78df557ba30e64c4140a054f2fe390bf857b (patch) | |
tree | 687f55783abc0599ff5781fc4068cb8b85ce609d /main/vde2 | |
parent | db00a3ff619a59dac787fcb017904212bc18f9a7 (diff) | |
download | aports-2b8d78df557ba30e64c4140a054f2fe390bf857b.tar.bz2 aports-2b8d78df557ba30e64c4140a054f2fe390bf857b.tar.xz |
main/vde2: don't depend on openssl
Instead use libressl as a runtime dependency.
Diffstat (limited to 'main/vde2')
-rw-r--r-- | main/vde2/APKBUILD | 20 |
1 files changed, 8 insertions, 12 deletions
diff --git a/main/vde2/APKBUILD b/main/vde2/APKBUILD index a8698aa2db..6a017e008d 100644 --- a/main/vde2/APKBUILD +++ b/main/vde2/APKBUILD @@ -1,12 +1,12 @@ # Maintainer: Michael Zhou <zhoumichaely@gmail.com> pkgname=vde2 pkgver=2.3.2 -pkgrel=5 +pkgrel=6 pkgdesc="VDE: Virtual Distributed Ethernet. User mode networking for QEMU, UML, etc." url="http://vde.sf.net" arch="all" license="GPL" -depends="openssl" +depends="libressl" install="vde2.pre-install" makedepends="linux-headers libressl-dev libpcap-dev python" subpackages="$pkgname-doc $pkgname-dev $pkgname-libs" @@ -16,20 +16,16 @@ source="http://downloads.sourceforge.net/project/vde/vde2/$pkgver/vde2-$pkgver.t vde2.post-down " -_builddir="$srcdir"/$pkgname-$pkgver - +builddir="$srcdir"/$pkgname-$pkgver prepare() { - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done + cd "$builddir" + default_prepare || return 1 + update_config_sub || return 1 } build() { - cd "$_builddir" + cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ @@ -42,7 +38,7 @@ build() { } package() { - cd "$_builddir" + cd "$builddir" make -j1 DESTDIR="$pkgdir" install || return 1 install -Dm755 "$srcdir"/vde2.pre-up \ |