2012-07-18 07:09:52 +00:00
|
|
|
# Template file for 'vde2'
|
|
|
|
pkgname=vde2
|
|
|
|
version=2.3.2
|
2015-04-17 05:01:27 +00:00
|
|
|
revision=10
|
2012-07-18 07:09:52 +00:00
|
|
|
build_style=gnu-configure
|
|
|
|
configure_args="--disable-static --enable-experimental
|
2014-02-04 16:27:02 +00:00
|
|
|
--disable-python --enable-kernel-switch"
|
2014-01-05 10:33:17 +00:00
|
|
|
hostmakedepends="automake libtool"
|
2015-03-27 09:50:40 +00:00
|
|
|
makedepends="libpcap-devel libressl-devel"
|
2014-01-01 15:10:11 +00:00
|
|
|
conf_files="
|
2015-04-17 05:01:27 +00:00
|
|
|
/etc/vde2/vdecmd
|
|
|
|
/etc/vde2/libvdemgmt/asyncrecv.rc
|
|
|
|
/etc/vde2/libvdemgmt/closemachine.rc
|
|
|
|
/etc/vde2/libvdemgmt/openmachine.rc
|
|
|
|
/etc/vde2/libvdemgmt/sendcmd.rc"
|
2012-07-18 07:09:52 +00:00
|
|
|
short_desc="Virtual Distributed Ethernet"
|
2015-04-10 07:16:30 +00:00
|
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
2012-07-18 07:09:52 +00:00
|
|
|
license="GPL-2, LGPL-2.1, BSD"
|
|
|
|
homepage="http://sourceforge.net/projects/vde/"
|
|
|
|
distfiles="${SOURCEFORGE_SITE}/vde/vde2-$version.tar.bz2"
|
|
|
|
checksum=cbea9b7e03097f87a6b5e98b07890d2275848f1fe4b9fcda77b8994148bc9542
|
|
|
|
|
2014-04-01 13:17:56 +00:00
|
|
|
lib32disabled=yes
|
2013-04-14 14:51:01 +00:00
|
|
|
disable_parallel_build=yes
|
2012-07-18 07:09:52 +00:00
|
|
|
|
2014-01-05 10:33:17 +00:00
|
|
|
pre_configure() {
|
|
|
|
autoreconf -fi
|
|
|
|
}
|
|
|
|
|
2012-07-18 07:09:52 +00:00
|
|
|
post_install() {
|
2015-02-24 09:29:58 +00:00
|
|
|
vlicense COPYING.slirpvde
|
2012-07-18 07:09:52 +00:00
|
|
|
}
|
2013-04-14 14:51:01 +00:00
|
|
|
|
|
|
|
libvde2_package() {
|
2014-01-01 15:10:11 +00:00
|
|
|
short_desc+=" - runtime libraries"
|
2013-04-14 14:51:01 +00:00
|
|
|
pkg_install() {
|
2014-01-05 10:33:17 +00:00
|
|
|
vmove "usr/lib/*.so.*"
|
2013-04-14 14:51:01 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
vde2-devel_package() {
|
2014-01-05 10:33:17 +00:00
|
|
|
depends="libvde2>=${version}_${revision}"
|
2014-01-01 15:10:11 +00:00
|
|
|
short_desc+=" - development files"
|
2013-04-14 14:51:01 +00:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
2014-01-05 10:33:17 +00:00
|
|
|
vmove "usr/lib/*.so"
|
2013-04-14 14:51:01 +00:00
|
|
|
}
|
|
|
|
}
|