wok view iperf/receipt @ rev 24533

updated f3 (7.2 -> 8.0)
author Hans-G?nter Theisgen
date Wed Feb 23 11:14:10 2022 +0100 (2022-02-23)
parents 5ea0ce1cecc0
children 6a20a6709dd5
line source
1 # SliTaz package receipt.
3 PACKAGE="iperf"
4 VERSION="3.7"
5 CATEGORY="network"
6 SHORT_DESC="Measure network performance."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="BSD"
9 WEB_SITE="https://iperf.fr/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/esnet/$PACKAGE/archive/$VERSION.tar.gz"
14 DEPENDS="gcc-lib-base"
15 BUILD_DEPENDS=""
17 current_version()
18 {
19 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \
20 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 # because of conflict with -pg:
27 CFLAGS=${CFLAGS/-fomit-frame-pointer/}
29 ./configure \
30 --prefix=/usr \
31 --host=i686-pc-linux-gnu \
32 --build=i686-pc-linux-gnu &&
33 make &&
34 make DESTDIR=$DESTDIR install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr
41 cp -a $install/usr/bin $fs/usr
42 }