wok-6.x annotate cpuspeed/receipt @ rev 24657
updated icewm (1.6.4 -> 2.9.6)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Mar 11 07:48:38 2022 +0100 (2022-03-11) |
parents | a78610b2eb47 |
children |
rev | line source |
---|---|
pascal@11219 | 1 # SliTaz package receipt. |
pascal@11219 | 2 |
pascal@11219 | 3 PACKAGE="cpuspeed" |
pascal@11219 | 4 VERSION="1.5" |
pascal@15202 | 5 SHORT_DESC="CPU frequency scaling utility" |
pascal@11219 | 6 CATEGORY="system-tools" |
pascal@11219 | 7 MAINTAINER="jozee@slitaz.org" |
pascal@15202 | 8 LICENSE="GPL2" |
pascal@20669 | 9 WEB_SITE="https://www.carlthompson.net/Software/CPUSpeed" |
pascal@11219 | 10 CONFIG_FILES="etc/default/cpufreq" |
pascal@11219 | 11 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@20669 | 12 WGET_URL="https://www.carlthompson.net/downloads/$PACKAGE/$TARBALL" |
pascal@13027 | 13 TAGS="power-management" |
pascal@11219 | 14 |
pascal@24436 | 15 # What is the latest version available today? |
pascal@24436 | 16 current_version() |
pascal@24436 | 17 { |
pascal@24436 | 18 wget -O - ${WGET_URL%/*} 2>/dev/null | \ |
pascal@24436 | 19 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q |
pascal@24436 | 20 } |
pascal@24436 | 21 |
pascal@11219 | 22 # Rules to configure and make the package. |
pascal@24436 | 23 compile_rules() |
pascal@24436 | 24 { |
pascal@24436 | 25 cd $src |
pascal@24436 | 26 make |
pascal@11219 | 27 } |
pascal@11219 | 28 |
pascal@11219 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11219 | 30 genpkg_rules() |
pascal@11219 | 31 { |
pascal@11219 | 32 mkdir -p $fs/sbin |
pascal@11219 | 33 cp -a $src/cpuspeed $fs/sbin |
pascal@11219 | 34 |
pascal@11219 | 35 } |