wok-6.x annotate cpulimit/receipt @ rev 15602

Use DESTDIR
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Dec 05 20:42:36 2013 +0000 (2013-12-05)
parents 0c811a59b200
children 370da83187ab
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"
pascal@15579 8 LICENSE="GPL2"
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
pascal@15579 13 DEPENDS=""
pascal@15579 14
paul@1301 15 # Rules to configure and make the package.
paul@1301 16 compile_rules()
paul@1301 17 {
paul@1301 18 cd $src
paul@1301 19 make
paul@1301 20 }
paul@1301 21
paul@1301 22 # Rules to gen a SliTaz package suitable for Tazpkg.
paul@1301 23 genpkg_rules()
paul@1301 24 {
paul@1301 25 mkdir -p $fs/usr/bin
paul@1301 26 cp -a $src/cpulimit $fs/usr/bin
paul@1301 27 }