# HG changeset patch # User Hans-G?nter Theisgen # Date 1647266534 -3600 # Node ID a8521217484c67302a6aa8653dab7d2a70295775 # Parent 5ff61bfa6ca2a9401ed5db5ef7289320b67b9937 updated laptop-mode-tools (1.73.1 -> 1.74) diff -r 5ff61bfa6ca2 -r a8521217484c laptop-mode-tools/description.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/laptop-mode-tools/description.txt Mon Mar 14 15:02:14 2022 +0100 @@ -0,0 +1,6 @@ +Laptop Mode Tools is a laptop power saving package for Linux systems. +It allows you to extend the battery life of your laptop, in several ways. +It is the primary way to enable the Laptop Mode feature of the Linux +kernel, which lets your hard drive spin down. +In addition, it allows you to tweak a number of other power-related +settings using a simple configuration file. diff -r 5ff61bfa6ca2 -r a8521217484c laptop-mode-tools/receipt --- a/laptop-mode-tools/receipt Mon Mar 14 14:46:55 2022 +0100 +++ b/laptop-mode-tools/receipt Mon Mar 14 15:02:14 2022 +0100 @@ -1,7 +1,7 @@ # SliTaz package receipt. PACKAGE="laptop-mode-tools" -VERSION="1.73.1" +VERSION="1.74" CATEGORY="system-tools" SHORT_DESC="Laptop ACPI tools." MAINTAINER="lufeng369@slitaz.org" @@ -11,7 +11,7 @@ TARBALL="${PACKAGE}_$VERSION.tar.gz" WGET_URL="https://github.com/rickysarraf/$PACKAGE/releases/download/$VERSION/$TARBALL" -DEPENDS="acpid hdparm python util-linux-blockdev util-linux-flock" +DEPENDS="acpid hdparm python util-linux-flock util-linux-blockdev" current_version() { @@ -25,15 +25,17 @@ sed -i 's|/usr/man|/usr/share/man|' \ install.sh - make DESTDIR=$DESTDIR INIT_D=none install + make install \ + DESTDIR=$DESTDIR \ + INIT_D=none } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr/share mkdir -p $fs/etc/init.d mkdir -p $fs/lib + mkdir -p $fs/usr/share cp -a $install/usr/sbin $fs/usr/ cp -a $stuff/laptop-mode.sh $fs/etc/init.d/