wok view iperf/receipt @ rev 14256
Add iperf
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Mar 27 11:40:17 2013 +0100 (2013-03-27) |
parents | |
children | de49f29b101e |
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 TARBALL="$PACKAGE-$VERSION-source.tar.gz"
9 WEB_SITE="http://iperf.fr/"
10 WGET_URL="${WEB_SITE}download/${PACKAGE}_$VERSION/$TARBALL"
12 DEPENDS="gcc-lib-base"
13 BUILD_DEPENDS=""
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure prefix=/usr &&
20 make &&
21 make DESTDIR=$DESTDIR install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr
28 cp -a $install/usr/bin $fs/usr
29 }