wok-current view iperf/receipt @ rev 23056

xplanet: add giflib5 patch
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Mar 07 16:37:51 2020 +0100 (2020-03-07)
parents 49a267c9c2fe
children 5ea0ce1cecc0
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 # Rules to configure and make the package.
18 compile_rules()
19 {
20 # because of conflict with -pg:
21 CFLAGS=${CFLAGS/-fomit-frame-pointer/}
23 ./configure \
24 --prefix=/usr \
25 --host=i686-pc-linux-gnu \
26 --build=i686-pc-linux-gnu &&
27 make &&
28 make DESTDIR=$DESTDIR install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr
35 cp -a $install/usr/bin $fs/usr
36 }