wok-next view vde2/receipt @ rev 21567
updated cppunit (1.14.0 -> 1.15.1)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Jun 22 16:07:43 2020 +0100 (2020-06-22) |
parents | ede5a90b22f3 |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="vde2"
4 VERSION="2.3.2"
5 CATEGORY="network"
6 SHORT_DESC="Virtual Distributed Ethernet"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://vde.sourceforge.net/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="$SF_MIRROR/vde/$TARBALL"
14 BUILD_DEPENDS="openssl-dev" # python-dev libpcap-dev
15 SPLIT="$PACKAGE-dev"
17 compile_rules() {
18 # Disable size optimization (and use default) because inlining functions
19 # in the src/vde_switch/fstp.c will produce errors:
20 # undefined reference to `nstringtol'
21 # undefined reference to `ltonstring'
22 export CFLAGS="${CFLAGS/-Os/}"
24 ./configure \
25 --libexecdir=/usr/lib/$PACKAGE \
26 --enable-experimental \
27 $CONFIGURE_ARGS &&
28 fix libtool &&
29 make -j1 &&
30 make -j1 install
31 }
33 genpkg_rules() {
34 case $PACKAGE in
35 vde2)
36 copy @std
37 DEPENDS="openssl"
38 ;;
39 *-dev)
40 copy @dev
41 ;;
42 esac
43 }