wok-next annotate cpuspeed/receipt @ rev 11547
Add flatpress form wok-undigest
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Dec 25 15:18:52 2011 +0100 (2011-12-25) |
parents | |
children | d71ba04aa9f5 |
rev | line source |
---|---|
pascal@11219 | 1 # SliTaz package receipt. |
pascal@11219 | 2 |
pascal@11219 | 3 PACKAGE="cpuspeed" |
pascal@11219 | 4 VERSION="1.5" |
pascal@11219 | 5 CATEGORY="system-tools" |
pascal@11219 | 6 MAINTAINER="jozee@slitaz.org" |
pascal@11219 | 7 SHORT_DESC="CPU frequency scaling utility" |
pascal@11219 | 8 WEB_SITE="http://www.carlthompson.net/Software/CPUSpeed" |
pascal@11219 | 9 CONFIG_FILES="etc/default/cpufreq" |
pascal@11219 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@11219 | 11 WGET_URL="http://www.carlthompson.net/downloads/$PACKAGE/$TARBALL" |
pascal@11219 | 12 TAGS="power-maangement" |
pascal@11219 | 13 |
pascal@11219 | 14 # Rules to configure and make the package. |
pascal@11219 | 15 |
pascal@11219 | 16 compile_rules() { |
pascal@11219 | 17 cd $src |
pascal@11219 | 18 make |
pascal@11219 | 19 } |
pascal@11219 | 20 |
pascal@11219 | 21 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11219 | 22 genpkg_rules() |
pascal@11219 | 23 { |
pascal@11219 | 24 mkdir -p $fs/sbin |
pascal@11219 | 25 cp -a $src/cpuspeed $fs/sbin |
pascal@11219 | 26 |
pascal@11219 | 27 } |