wok-6.x view iperf/receipt @ rev 23855
Up dropbear (2020.79), nagios (4.4.6)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jun 16 20:15:47 2020 +0000 (2020-06-16) |
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 }