wok view iperf/receipt @ rev 20461

py3k: fix build
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Oct 10 18:41:29 2018 +0200 (2018-10-10)
parents 27ae6e723835
children 510399d14429
line source
1 # SliTaz package receipt.
3 PACKAGE="iperf"
4 VERSION="2.0.5"
5 CATEGORY="network"
6 SHORT_DESC="Measure network performance."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="BSD"
9 TARBALL="$PACKAGE-$VERSION-source.tar.gz"
10 WEB_SITE="http://iperf.fr/"
11 WGET_URL="${WEB_SITE}download/${PACKAGE}_$VERSION/$TARBALL"
13 DEPENDS="gcc-lib-base"
14 BUILD_DEPENDS=""
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure prefix=/usr &&
21 make &&
22 make DESTDIR=$DESTDIR install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr
29 cp -a $install/usr/bin $fs/usr
30 }