wok-next diff vde2/receipt @ rev 20669

vde2: up / fix build
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri May 11 14:21:30 2018 +0300 (2018-05-11)
parents 10df65db91ad
children d5aab818505e
line diff
     1.1 --- a/vde2/receipt	Thu Apr 19 13:15:41 2018 +0300
     1.2 +++ b/vde2/receipt	Fri May 11 14:21:30 2018 +0300
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt v2.
     1.5  
     1.6  PACKAGE="vde2"
     1.7 -VERSION="2.3.1"
     1.8 +VERSION="2.3.2"
     1.9  CATEGORY="network"
    1.10  SHORT_DESC="Virtual Distributed Ethernet"
    1.11  MAINTAINER="pascal.bellard@slitaz.org"
    1.12 @@ -11,16 +11,23 @@
    1.13  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.14  WGET_URL="$SF_MIRROR/vde/$TARBALL"
    1.15  
    1.16 -BUILD_DEPENDS="openssl openssl-dev"
    1.17 +BUILD_DEPENDS="openssl-dev" # python-dev libpcap-dev
    1.18  SPLIT="vde2-dev"
    1.19  
    1.20  compile_rules() {
    1.21 +	# Disable size optimization (and use default) because inlining functions
    1.22 +	# in the src/vde_switch/fstp.c will produce errors:
    1.23 +	#   undefined reference to `nstringtol'
    1.24 +	#   undefined reference to `ltonstring'
    1.25 +	export CFLAGS="${CFLAGS/-Os/}"
    1.26 +
    1.27  	./configure \
    1.28  		--libexecdir=/usr/lib/$PACKAGE \
    1.29 +		--enable-experimental \
    1.30  		$CONFIGURE_ARGS &&
    1.31  	fix libtool &&
    1.32 -	make &&
    1.33 -	make DESTDIR=$DESTDIR install
    1.34 +	make -j1 &&
    1.35 +	make -j1 install
    1.36  }
    1.37  
    1.38  genpkg_rules() {