vde2: cross build support.

This commit is contained in:
Juan RP 2014-01-05 11:33:17 +01:00
parent b8607a3275
commit 35889db88d
1 changed files with 11 additions and 7 deletions

View File

@ -1,10 +1,12 @@
# Template file for 'vde2'
pkgname=vde2
version=2.3.2
revision=4
revision=5
build_style=gnu-configure
configure_args="--disable-static --enable-experimental
--disable-python --enable-kernel-switch"
--disable-python --enable-kernel-switch
ac_cv_func_malloc_0_nonnull=yes ac_cv_func_realloc_0_nonnull=yes"
hostmakedepends="automake libtool"
makedepends="libpcap-devel openssl-devel"
conf_files="
/etc/vdecmd
@ -18,12 +20,13 @@ license="GPL-2, LGPL-2.1, BSD"
homepage="http://sourceforge.net/projects/vde/"
distfiles="${SOURCEFORGE_SITE}/vde/vde2-$version.tar.bz2"
checksum=cbea9b7e03097f87a6b5e98b07890d2275848f1fe4b9fcda77b8994148bc9542
long_desc="
VDE is an ethernet compliant virtual network that can be spawned over a set of
physical computer over the Internet."
disable_parallel_build=yes
pre_configure() {
autoreconf -fi
}
post_install() {
vinstall COPYING.slirpvde 644 usr/share/licenses/vde2
}
@ -31,15 +34,16 @@ post_install() {
libvde2_package() {
short_desc+=" - runtime libraries"
pkg_install() {
vmove "usr/lib/*.so*"
vmove "usr/lib/*.so.*"
}
}
vde2-devel_package() {
depends="libvde2-${version}_${revision}"
depends="libvde2>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}