wok rev 21096
updated laptop-mode-tools (1.60 -> 1.72.2)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Mar 16 17:35:06 2019 +0100 (2019-03-16) |
parents | 9b51132bd0a9 |
children | 294cf8a66d39 |
files | laptop-mode-tools/receipt |
line diff
1.1 --- a/laptop-mode-tools/receipt Sat Mar 16 17:02:24 2019 +0100 1.2 +++ b/laptop-mode-tools/receipt Sat Mar 16 17:35:06 2019 +0100 1.3 @@ -1,15 +1,17 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="laptop-mode-tools" 1.7 -VERSION="1.60" 1.8 +VERSION="1.72.2" 1.9 CATEGORY="system-tools" 1.10 -SHORT_DESC="Laptop ACPI tools" 1.11 +SHORT_DESC="Laptop ACPI tools." 1.12 MAINTAINER="lufeng369@slitaz.org" 1.13 LICENSE="GPL2" 1.14 +WEB_SITE="https://github.com/rickysarraf/laptop-mode-tools" 1.15 + 1.16 +TARBALL="${PACKAGE}_$VERSION.tar.gz" 1.17 +WGET_URL="https://github.com/rickysarraf/$PACKAGE/releases/download/$VERSION/$TARBALL" 1.18 + 1.19 DEPENDS="acpid hdparm util-linux-flock util-linux-blockdev" 1.20 -TARBALL="${PACKAGE}_$VERSION.tar.gz" 1.21 -WEB_SITE="http://samwel.tk/laptop_mode/" 1.22 -WGET_URL="http://samwel.tk/laptop_mode/tools/downloads/$TARBALL" 1.23 1.24 # Rules to configure and make the package. 1.25 compile_rules() 1.26 @@ -21,13 +23,16 @@ 1.27 # Rules to gen a SliTaz package suitable for Tazpkg. 1.28 genpkg_rules() 1.29 { 1.30 - mkdir -p $fs/usr/sbin/ $fs/etc/init.d/ $fs/lib 1.31 - cp -a $install/usr/sbin/laptop_mode $fs/usr/sbin/ 1.32 - cp -a $stuff/laptop-mode.sh $fs/etc/init.d/ 1.33 - cp -a $install/etc/acpi $fs/etc/ 1.34 - cp -a $install/etc/laptop-mode $fs/etc/ 1.35 - cp -a $install/etc/power $fs/etc/ 1.36 - cp -a $install/etc/udev $fs/etc/ 1.37 - cp -a $install/lib/udev $fs/lib/ 1.38 - cp -a $install/usr/lib/ $fs/usr/ 1.39 + mkdir -p $fs/usr/sbin/ 1.40 + mkdir -p $fs/etc/init.d/ 1.41 + mkdir -p $fs/lib 1.42 + 1.43 + cp -a $install/usr/sbin/laptop_mode $fs/usr/sbin/ 1.44 + cp -a $stuff/laptop-mode.sh $fs/etc/init.d/ 1.45 + cp -a $install/etc/acpi $fs/etc/ 1.46 + cp -a $install/etc/laptop-mode $fs/etc/ 1.47 + cp -a $install/etc/power $fs/etc/ 1.48 + cp -a $install/etc/udev $fs/etc/ 1.49 + cp -a $install/lib/udev $fs/lib/ 1.50 + cp -a $install/usr/lib/ $fs/usr/ 1.51 }