wok-6.x rev 24705

updated laptop-mode-tools (1.73.1 -> 1.74)
author Hans-G?nter Theisgen
date Mon Mar 14 15:02:14 2022 +0100 (2022-03-14)
parents 5ff61bfa6ca2
children 68080ae2ec03
files laptop-mode-tools/description.txt laptop-mode-tools/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/laptop-mode-tools/description.txt	Mon Mar 14 15:02:14 2022 +0100
     1.3 @@ -0,0 +1,6 @@
     1.4 +Laptop Mode Tools is a laptop power saving package for Linux systems.
     1.5 +It allows you to extend the battery life of your laptop, in several ways.
     1.6 +It is the primary way to enable the Laptop Mode feature of the Linux
     1.7 +kernel, which lets your hard drive spin down.
     1.8 +In addition, it allows you to tweak a number of other power-related
     1.9 +settings using a simple configuration file.
     2.1 --- a/laptop-mode-tools/receipt	Mon Mar 14 14:46:55 2022 +0100
     2.2 +++ b/laptop-mode-tools/receipt	Mon Mar 14 15:02:14 2022 +0100
     2.3 @@ -1,7 +1,7 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="laptop-mode-tools"
     2.7 -VERSION="1.73.1"
     2.8 +VERSION="1.74"
     2.9  CATEGORY="system-tools"
    2.10  SHORT_DESC="Laptop ACPI tools."
    2.11  MAINTAINER="lufeng369@slitaz.org"
    2.12 @@ -11,7 +11,7 @@
    2.13  TARBALL="${PACKAGE}_$VERSION.tar.gz"
    2.14  WGET_URL="https://github.com/rickysarraf/$PACKAGE/releases/download/$VERSION/$TARBALL"
    2.15  
    2.16 -DEPENDS="acpid hdparm python util-linux-blockdev util-linux-flock"
    2.17 +DEPENDS="acpid hdparm python util-linux-flock util-linux-blockdev"
    2.18  
    2.19  current_version()
    2.20  {
    2.21 @@ -25,15 +25,17 @@
    2.22  	sed -i 's|/usr/man|/usr/share/man|' \
    2.23  		install.sh
    2.24  
    2.25 -	make DESTDIR=$DESTDIR INIT_D=none install
    2.26 +	make	install			\
    2.27 +		DESTDIR=$DESTDIR	\
    2.28 +		INIT_D=none
    2.29  }
    2.30  
    2.31  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.32  genpkg_rules()
    2.33  {
    2.34 -	mkdir -p $fs/usr/share
    2.35  	mkdir -p $fs/etc/init.d
    2.36  	mkdir -p $fs/lib
    2.37 +	mkdir -p $fs/usr/share
    2.38  
    2.39  	cp -a $install/usr/sbin			$fs/usr/
    2.40  	cp -a $stuff/laptop-mode.sh		$fs/etc/init.d/