wok annotate cpulimit/receipt @ rev 5973
mirror-tools: add host scripts
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Aug 08 19:48:39 2010 +0200 (2010-08-08) |
parents | 90c0dfc52798 |
children | eb8067417980 |
rev | line source |
---|---|
paul@1301 | 1 # SliTaz package receipt. |
paul@1301 | 2 |
paul@1301 | 3 PACKAGE="cpulimit" |
paul@1301 | 4 VERSION="1.1" |
paul@1301 | 5 CATEGORY="system-tools" |
paul@1316 | 6 SHORT_DESC="Limits the cpu usage of a process" |
paul@1301 | 7 MAINTAINER="allan316@gmail.com" |
paul@1301 | 8 DEPENDS="" |
paul@1301 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
paul@1301 | 10 WEB_SITE="http://cpulimit.sourceforge.net" |
paul@1301 | 11 WGET_URL="http://ovh.dl.sourceforge.net/sourceforge/cpulimit/$TARBALL" |
paul@1301 | 12 |
paul@1301 | 13 # Rules to configure and make the package. |
paul@1301 | 14 compile_rules() |
paul@1301 | 15 { |
paul@1301 | 16 cd $src |
paul@1301 | 17 make |
paul@1301 | 18 } |
paul@1301 | 19 |
paul@1301 | 20 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@1301 | 21 genpkg_rules() |
paul@1301 | 22 { |
paul@1301 | 23 mkdir -p $fs/usr/bin |
paul@1301 | 24 cp -a $src/cpulimit $fs/usr/bin |
paul@1301 | 25 } |