wok annotate iperf/receipt @ rev 24316

updated lynis (2.7.5 -> 3.0.6)
author Hans-G?nter Theisgen
date Tue Jan 25 09:41:30 2022 +0100 (2022-01-25)
parents 5ea0ce1cecc0
children 6a20a6709dd5
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@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 &&
pascal@14256 34 make DESTDIR=$DESTDIR install
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 {
pascal@14256 40 mkdir -p $fs/usr
Hans-G?nter@22954 41 cp -a $install/usr/bin $fs/usr
pascal@14256 42 }