wok-next annotate iperf/receipt @ rev 17199
Up rsync (3.1.1)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Oct 08 19:19:04 2014 +0200 (2014-10-08) |
parents | 27ae6e723835 |
children | f48456621a9d |
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 |