wok-6.x annotate iperf/receipt @ rev 14718
lib[s-z]*: add LICENSE
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jun 11 11:57:36 2013 +0200 (2013-06-11) |
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 |