wok annotate iperf/receipt @ rev 15776
Add ori
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jan 08 11:08:16 2014 +0000 (2014-01-08) |
parents | 27ae6e723835 |
children | 510399d14429 |
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@15600 | 8 LICENSE="BSD" |
pascal@14256 | 9 TARBALL="$PACKAGE-$VERSION-source.tar.gz" |
pascal@14256 | 10 WEB_SITE="http://iperf.fr/" |
pascal@14256 | 11 WGET_URL="${WEB_SITE}download/${PACKAGE}_$VERSION/$TARBALL" |
pascal@14256 | 12 |
pascal@14256 | 13 DEPENDS="gcc-lib-base" |
pascal@14256 | 14 BUILD_DEPENDS="" |
pascal@14256 | 15 |
pascal@14256 | 16 # Rules to configure and make the package. |
pascal@14256 | 17 compile_rules() |
pascal@14256 | 18 { |
pascal@14256 | 19 cd $src |
pascal@14256 | 20 ./configure prefix=/usr && |
pascal@14256 | 21 make && |
pascal@14256 | 22 make DESTDIR=$DESTDIR install |
pascal@14256 | 23 } |
pascal@14256 | 24 |
pascal@14256 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@14256 | 26 genpkg_rules() |
pascal@14256 | 27 { |
pascal@14256 | 28 mkdir -p $fs/usr |
pascal@14256 | 29 cp -a $install/usr/bin $fs/usr |
pascal@14256 | 30 } |
pascal@14256 | 31 |