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