wok-current annotate slurm/receipt @ rev 5797
Speedup some builds
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jul 11 13:09:27 2010 +0200 (2010-07-11) |
parents | |
children | 3b4e4318134e |
rev | line source |
---|---|
paul@3439 | 1 # SliTaz package receipt. |
paul@3439 | 2 |
paul@3439 | 3 PACKAGE="slurm" |
paul@3439 | 4 VERSION="0.3.3" |
paul@3439 | 5 CATEGORY="network" |
paul@3439 | 6 SHORT_DESC="Realtime network interface monitor." |
paul@3439 | 7 MAINTAINER="paul@slitaz.org" |
paul@3439 | 8 DEPENDS="ncurses" |
paul@3439 | 9 BUILD_DEPENDS="ncurses-dev" |
paul@3439 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
paul@3439 | 11 WEB_SITE="http://www.wormulon.net/slurm/" |
paul@3439 | 12 WGET_URL="http://www.wormulon.net/slurm/$TARBALL" |
paul@3439 | 13 |
paul@3439 | 14 # Rules to configure and make the package. |
paul@3439 | 15 compile_rules() |
paul@3439 | 16 { |
paul@3439 | 17 cd $src |
paul@3439 | 18 ./configure \ |
paul@3439 | 19 --prefix=/usr \ |
paul@3439 | 20 --infodir=/usr/share/info \ |
paul@3439 | 21 --mandir=/usr/share/man \ |
paul@3439 | 22 $CONFIGURE_ARGS && |
paul@3439 | 23 make && make DESTDIR=$PWD/_pkg install |
paul@3439 | 24 } |
paul@3439 | 25 |
paul@3439 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@3439 | 27 genpkg_rules() |
paul@3439 | 28 { |
paul@3439 | 29 mkdir -p $fs/usr |
paul@3439 | 30 cp -a $_pkg/usr/bin $fs/usr |
paul@3439 | 31 } |
paul@3439 | 32 |