wok diff iperf/receipt @ rev 23892

Fix coturn & grub4dos
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jul 25 17:02:18 2020 +0000 (2020-07-25)
parents 49a267c9c2fe
children 5ea0ce1cecc0
line diff
     1.1 --- a/iperf/receipt	Wed Mar 13 14:59:39 2019 +0100
     1.2 +++ b/iperf/receipt	Sat Jul 25 17:02:18 2020 +0000
     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  }