wok-current annotate 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
rev   line source
pascal@14256 1 # SliTaz package receipt.
pascal@14256 2
pascal@14256 3 PACKAGE="iperf"
pascal@14256 4 VERSION="2.0.5"
pascal@14256 5 CATEGORY="network"
pascal@14256 6 SHORT_DESC="Measure network performance."
pascal@14256 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@14256 8 TARBALL="$PACKAGE-$VERSION-source.tar.gz"
pascal@14256 9 WEB_SITE="http://iperf.fr/"
pascal@14256 10 WGET_URL="${WEB_SITE}download/${PACKAGE}_$VERSION/$TARBALL"
pascal@14256 11
pascal@14256 12 DEPENDS="gcc-lib-base"
pascal@14256 13 BUILD_DEPENDS=""
pascal@14256 14
pascal@14256 15 # Rules to configure and make the package.
pascal@14256 16 compile_rules()
pascal@14256 17 {
pascal@14256 18 cd $src
pascal@14256 19 ./configure prefix=/usr &&
pascal@14256 20 make &&
pascal@14256 21 make DESTDIR=$DESTDIR install
pascal@14256 22 }
pascal@14256 23
pascal@14256 24 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@14256 25 genpkg_rules()
pascal@14256 26 {
pascal@14256 27 mkdir -p $fs/usr
pascal@14256 28 cp -a $install/usr/bin $fs/usr
pascal@14256 29 }
pascal@14256 30