wok-next view iperf/receipt @ rev 15025

sipsak: fix compile_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Aug 11 21:34:10 2013 +0000 (2013-08-11)
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 }