wok-4.x view cpulimit/receipt @ rev 9113
slitaz-doc: fix genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Mar 05 11:34:20 2011 +0100 (2011-03-05) |
parents | 90c0dfc52798 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="cpulimit"
4 VERSION="1.1"
5 CATEGORY="system-tools"
6 SHORT_DESC="Limits the cpu usage of a process"
7 MAINTAINER="allan316@gmail.com"
8 DEPENDS=""
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://cpulimit.sourceforge.net"
11 WGET_URL="http://ovh.dl.sourceforge.net/sourceforge/cpulimit/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 make
18 }
20 # Rules to gen a SliTaz package suitable for Tazpkg.
21 genpkg_rules()
22 {
23 mkdir -p $fs/usr/bin
24 cp -a $src/cpulimit $fs/usr/bin
25 }