wok-next view vde2/receipt @ rev 21213
updated bird (2.0.2 -> 2.0.3)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Dec 02 17:28:39 2019 +0100 (2019-12-02) |
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 }