wok annotate iperf/receipt @ rev 24928
updated msmtp (1.8.7 -> 1.8.20)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Apr 13 15:47:53 2022 +0100 (2022-04-13) |
parents | ac8ca9758df1 |
children |
rev | line source |
---|---|
pascal@14256 | 1 # SliTaz package receipt. |
pascal@14256 | 2 |
pascal@14256 | 3 PACKAGE="iperf" |
Hans-G?nter@24670 | 4 VERSION="3.11" |
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 |
Hans-G?nter@24670 | 14 DEPENDS="" |
pascal@14256 | 15 BUILD_DEPENDS="" |
pascal@14256 | 16 |
pascal@24055 | 17 current_version() |
pascal@24055 | 18 { |
pascal@24299 | 19 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \ |
pascal@24055 | 20 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q' |
pascal@24055 | 21 } |
pascal@24055 | 22 |
pascal@14256 | 23 # Rules to configure and make the package. |
pascal@14256 | 24 compile_rules() |
pascal@14256 | 25 { |
Hans-G?nter@22954 | 26 # because of conflict with -pg: |
Hans-G?nter@22954 | 27 CFLAGS=${CFLAGS/-fomit-frame-pointer/} |
Hans-G?nter@22954 | 28 |
Hans-G?nter@21056 | 29 ./configure \ |
Hans-G?nter@21056 | 30 --prefix=/usr \ |
Hans-G?nter@21056 | 31 --host=i686-pc-linux-gnu \ |
pascal@20560 | 32 --build=i686-pc-linux-gnu && |
Hans-G?nter@22954 | 33 make && |
Hans-G?nter@24670 | 34 make install DESTDIR=$DESTDIR |
pascal@14256 | 35 } |
pascal@14256 | 36 |
pascal@14256 | 37 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@14256 | 38 genpkg_rules() |
pascal@14256 | 39 { |
Hans-G?nter@24670 | 40 cook_copy_folders bin |
Hans-G?nter@24670 | 41 cook_copy_files *.so* |
pascal@14256 | 42 } |