wok-next diff cpuspeed/receipt @ rev 20636
Fix "can't execute '/usr/bin/update-mime-database': No such file or directory"
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Apr 27 15:12:17 2018 +0300 (2018-04-27) |
parents | 223b265f40fd |
children | a3c581bf52b8 |
line diff
1.1 --- a/cpuspeed/receipt Sat Sep 07 22:59:13 2013 +0000 1.2 +++ b/cpuspeed/receipt Fri Apr 27 15:12:17 2018 +0300 1.3 @@ -1,4 +1,4 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="cpuspeed" 1.8 VERSION="1.5" 1.9 @@ -7,22 +7,17 @@ 1.10 MAINTAINER="jozee@slitaz.org" 1.11 LICENSE="GPL2" 1.12 WEB_SITE="http://www.carlthompson.net/Software/CPUSpeed" 1.13 -CONFIG_FILES="etc/default/cpufreq" 1.14 + 1.15 TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.16 WGET_URL="http://www.carlthompson.net/downloads/$PACKAGE/$TARBALL" 1.17 -TAGS="power-management" 1.18 - 1.19 -# Rules to configure and make the package. 1.20 1.21 compile_rules() { 1.22 - cd $src 1.23 - make 1.24 + make && 1.25 + install -Dm755 $src/cpuspeed $install/sbin/cpuspeed 1.26 } 1.27 - 1.28 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.29 -genpkg_rules() 1.30 -{ 1.31 - mkdir -p $fs/sbin 1.32 - cp -a $src/cpuspeed $fs/sbin 1.33 - 1.34 + 1.35 +genpkg_rules() { 1.36 + copy @std 1.37 + CONFIG_FILES="etc/default/cpufreq" 1.38 + TAGS="power-management" 1.39 }