wok-6.x view laptop-mode-tools/receipt @ rev 21373

updated le (1.14.2 -> 1.16.5)
author Hans-G?nter Theisgen
date Mon Apr 22 08:57:09 2019 +0100 (2019-04-22)
parents 4e6e6bbe01bc
children 19ef62bc510b
line source
1 # SliTaz package receipt.
3 PACKAGE="laptop-mode-tools"
4 VERSION="1.72.2"
5 CATEGORY="system-tools"
6 SHORT_DESC="Laptop ACPI tools."
7 MAINTAINER="lufeng369@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://github.com/rickysarraf/laptop-mode-tools"
11 TARBALL="${PACKAGE}_$VERSION.tar.gz"
12 WGET_URL="https://github.com/rickysarraf/$PACKAGE/releases/download/$VERSION/$TARBALL"
14 DEPENDS="acpid hdparm util-linux-flock util-linux-blockdev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 sed -i 's|/usr/man|/usr/share/man|' install.sh
20 make DESTDIR=$DESTDIR INIT_D=none install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr/sbin/
27 mkdir -p $fs/etc/init.d/
28 mkdir -p $fs/lib
30 cp -a $install/usr/sbin/laptop_mode $fs/usr/sbin/
31 cp -a $stuff/laptop-mode.sh $fs/etc/init.d/
32 cp -a $install/etc/acpi $fs/etc/
33 cp -a $install/etc/apm $fs/etc/
34 cp -a $install/etc/laptop-mode $fs/etc/
35 cp -a $install/etc/power $fs/etc/
36 cp -a $install/lib/udev $fs/lib/
37 cp -a $install/usr/lib/ $fs/usr/
38 }