wok-next view vde2/receipt @ rev 21018
Nasty typo broke the cooker
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Oct 17 03:59:24 2018 +0300 (2018-10-17) |
parents | 10df65db91ad |
children | d5aab818505e |
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="vde2-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 }