wok-6.x annotate cpulimit/receipt @ rev 1301
Add cpulimit (thanks Allan Pinto)
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Fri Aug 22 21:30:21 2008 +0000 (2008-08-22) |
parents | |
children | 0c811a59b200 |
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@1301 | 6 SHORT_DESC="cpulimit is a simple program that attempts to limit the |
paul@1301 | 7 cpu usage of a process" |
paul@1301 | 8 MAINTAINER="allan316@gmail.com" |
paul@1301 | 9 DEPENDS="" |
paul@1301 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
paul@1301 | 11 WEB_SITE="http://cpulimit.sourceforge.net" |
paul@1301 | 12 WGET_URL="http://ovh.dl.sourceforge.net/sourceforge/cpulimit/$TARBALL" |
paul@1301 | 13 |
paul@1301 | 14 # Rules to configure and make the package. |
paul@1301 | 15 compile_rules() |
paul@1301 | 16 { |
paul@1301 | 17 cd $src |
paul@1301 | 18 make |
paul@1301 | 19 } |
paul@1301 | 20 |
paul@1301 | 21 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@1301 | 22 genpkg_rules() |
paul@1301 | 23 { |
paul@1301 | 24 mkdir -p $fs/usr/bin |
paul@1301 | 25 cp -a $src/cpulimit $fs/usr/bin |
paul@1301 | 26 } |