wok-undigest diff cpuspeed/receipt @ rev 418
collectd-bind: fix compile_rules ?
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Aug 31 14:55:34 2011 +0200 (2011-08-31) |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/cpuspeed/receipt Wed Aug 31 14:55:34 2011 +0200 1.3 @@ -0,0 +1,27 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="cpuspeed" 1.7 +VERSION="1.5" 1.8 +CATEGORY="system-tools" 1.9 +MAINTAINER="jozee@slitaz.org" 1.10 +SHORT_DESC="CPU frequency scaling utility" 1.11 +WEB_SITE="http://www.carlthompson.net/Software/CPUSpeed" 1.12 +CONFIG_FILES="etc/default/cpufreq" 1.13 +TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.14 +WGET_URL="http://www.carlthompson.net/downloads/$PACKAGE/$TARBALL" 1.15 +TAGS="power-maangement" 1.16 + 1.17 +# Rules to configure and make the package. 1.18 + 1.19 +compile_rules() { 1.20 + cd $src 1.21 + make 1.22 +} 1.23 + 1.24 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.25 +genpkg_rules() 1.26 +{ 1.27 + mkdir -p $fs/sbin 1.28 + cp -a $src/cpuspeed $fs/sbin 1.29 + 1.30 +}