wok-current annotate iperf/receipt @ 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 | 49a267c9c2fe |
children | 5ea0ce1cecc0 |
rev | line source |
---|---|
pascal@14256 | 1 # SliTaz package receipt. |
pascal@14256 | 2 |
pascal@14256 | 3 PACKAGE="iperf" |
Hans-G?nter@22954 | 4 VERSION="3.7" |
pascal@14256 | 5 CATEGORY="network" |
pascal@14256 | 6 SHORT_DESC="Measure network performance." |
pascal@14256 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15600 | 8 LICENSE="BSD" |
Hans-G?nter@22954 | 9 WEB_SITE="https://iperf.fr/" |
Hans-G?nter@21056 | 10 |
Hans-G?nter@21056 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@22954 | 12 WGET_URL="https://github.com/esnet/$PACKAGE/archive/$VERSION.tar.gz" |
pascal@14256 | 13 |
pascal@14256 | 14 DEPENDS="gcc-lib-base" |
pascal@14256 | 15 BUILD_DEPENDS="" |
pascal@14256 | 16 |
pascal@14256 | 17 # Rules to configure and make the package. |
pascal@14256 | 18 compile_rules() |
pascal@14256 | 19 { |
Hans-G?nter@22954 | 20 # because of conflict with -pg: |
Hans-G?nter@22954 | 21 CFLAGS=${CFLAGS/-fomit-frame-pointer/} |
Hans-G?nter@22954 | 22 |
Hans-G?nter@21056 | 23 ./configure \ |
Hans-G?nter@21056 | 24 --prefix=/usr \ |
Hans-G?nter@21056 | 25 --host=i686-pc-linux-gnu \ |
pascal@20560 | 26 --build=i686-pc-linux-gnu && |
Hans-G?nter@22954 | 27 make && |
pascal@14256 | 28 make DESTDIR=$DESTDIR install |
pascal@14256 | 29 } |
pascal@14256 | 30 |
pascal@14256 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@14256 | 32 genpkg_rules() |
pascal@14256 | 33 { |
pascal@14256 | 34 mkdir -p $fs/usr |
Hans-G?nter@22954 | 35 cp -a $install/usr/bin $fs/usr |
pascal@14256 | 36 } |