wok-6.x diff laptop-mode-tools/receipt @ rev 25558

Up libqcow (20221124)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Apr 24 09:03:56 2023 +0000 (18 months ago)
parents 5ea0ce1cecc0
children
line diff
     1.1 --- a/laptop-mode-tools/receipt	Tue Jun 08 08:46:05 2021 +0000
     1.2 +++ b/laptop-mode-tools/receipt	Mon Apr 24 09:03:56 2023 +0000
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="laptop-mode-tools"
     1.7 -VERSION="1.73.1"
     1.8 +VERSION="1.74"
     1.9  CATEGORY="system-tools"
    1.10  SHORT_DESC="Laptop ACPI tools."
    1.11  MAINTAINER="lufeng369@slitaz.org"
    1.12 @@ -11,7 +11,7 @@
    1.13  TARBALL="${PACKAGE}_$VERSION.tar.gz"
    1.14  WGET_URL="https://github.com/rickysarraf/$PACKAGE/releases/download/$VERSION/$TARBALL"
    1.15  
    1.16 -DEPENDS="acpid hdparm python util-linux-blockdev util-linux-flock"
    1.17 +DEPENDS="acpid hdparm python util-linux-flock util-linux-blockdev"
    1.18  
    1.19  current_version()
    1.20  {
    1.21 @@ -25,15 +25,17 @@
    1.22  	sed -i 's|/usr/man|/usr/share/man|' \
    1.23  		install.sh
    1.24  
    1.25 -	make DESTDIR=$DESTDIR INIT_D=none install
    1.26 +	make	install			\
    1.27 +		DESTDIR=$DESTDIR	\
    1.28 +		INIT_D=none
    1.29  }
    1.30  
    1.31  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.32  genpkg_rules()
    1.33  {
    1.34 -	mkdir -p $fs/usr/share
    1.35  	mkdir -p $fs/etc/init.d
    1.36  	mkdir -p $fs/lib
    1.37 +	mkdir -p $fs/usr/share
    1.38  
    1.39  	cp -a $install/usr/sbin			$fs/usr/
    1.40  	cp -a $stuff/laptop-mode.sh		$fs/etc/init.d/