2012-07-18 07:09:52 +00:00
|
|
|
# Template file for 'vde2'
|
|
|
|
pkgname=vde2
|
|
|
|
version=2.3.2
|
2014-01-05 10:33:17 +00:00
|
|
|
revision=5
|
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"
|
2012-07-18 07:09:52 +00:00
|
|
|
makedepends="libpcap-devel openssl-devel"
|
2014-01-01 15:10:11 +00:00
|
|
|
conf_files="
|
|
|
|
/etc/vdecmd
|
|
|
|
/etc/libvdemgmt/asyncrecv.rc
|
|
|
|
/etc/libvdemgmt/closemachine.rc
|
|
|
|
/etc/libvdemgmt/openmachine.rc
|
|
|
|
/etc/libvdemgmt/sendcmd.rc"
|
2012-07-18 07:09:52 +00:00
|
|
|
short_desc="Virtual Distributed Ethernet"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
|
|
license="GPL-2, LGPL-2.1, BSD"
|
|
|
|
homepage="http://sourceforge.net/projects/vde/"
|
|
|
|
distfiles="${SOURCEFORGE_SITE}/vde/vde2-$version.tar.bz2"
|
|
|
|
checksum=cbea9b7e03097f87a6b5e98b07890d2275848f1fe4b9fcda77b8994148bc9542
|
|
|
|
|
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() {
|
|
|
|
vinstall COPYING.slirpvde 644 usr/share/licenses/vde2
|
|
|
|
}
|
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
|
|
|
}
|
|
|
|
}
|