wok rev 22954

updated iperf (2.0.13 -> 3.7)
author Hans-G?nter Theisgen
date Fri Feb 28 15:11:56 2020 +0100 (2020-02-28)
parents 4fa6f2bddd14
children eba8234042aa
files iperf/receipt
line diff
     1.1 --- a/iperf/receipt	Fri Feb 28 14:51:15 2020 +0100
     1.2 +++ b/iperf/receipt	Fri Feb 28 15:11:56 2020 +0100
     1.3 @@ -1,16 +1,15 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="iperf"
     1.7 -VERSION="2.0.13"
     1.8 +VERSION="3.7"
     1.9  CATEGORY="network"
    1.10  SHORT_DESC="Measure network performance."
    1.11  MAINTAINER="pascal.bellard@slitaz.org"
    1.12  LICENSE="BSD"
    1.13 -WEB_SITE="https://sourceforge.net/projects/iperf2/"
    1.14 +WEB_SITE="https://iperf.fr/"
    1.15  
    1.16 -SOURCE="iperf2"
    1.17  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.18 -WGET_URL="$SF_MIRROR/$SOURCE/$TARBALL"
    1.19 +WGET_URL="https://github.com/esnet/$PACKAGE/archive/$VERSION.tar.gz"
    1.20  
    1.21  DEPENDS="gcc-lib-base"
    1.22  BUILD_DEPENDS=""
    1.23 @@ -18,11 +17,14 @@
    1.24  # Rules to configure and make the package.
    1.25  compile_rules()
    1.26  {
    1.27 +	# because of conflict with -pg:
    1.28 +	CFLAGS=${CFLAGS/-fomit-frame-pointer/}
    1.29 +
    1.30  	./configure				\
    1.31  		--prefix=/usr			\
    1.32  		--host=i686-pc-linux-gnu	\
    1.33  		--build=i686-pc-linux-gnu &&
    1.34 -	make -j 1 &&
    1.35 +	make &&
    1.36  	make DESTDIR=$DESTDIR install
    1.37  }
    1.38  
    1.39 @@ -30,5 +32,5 @@
    1.40  genpkg_rules()
    1.41  {
    1.42  	mkdir -p $fs/usr
    1.43 -	cp -a $install/usr/bin $fs/usr
    1.44 +	cp -a $install/usr/bin	$fs/usr
    1.45  }