wok-next view laptop-mode-tools/receipt @ rev 21723

busybox: update patches
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Sep 01 10:44:52 2020 +0000 (2020-09-01)
parents d5aab818505e
children
line source
1 # SliTaz package receipt v2.
3 PACKAGE="laptop-mode-tools"
4 VERSION="1.60"
5 CATEGORY="system-tools"
6 SHORT_DESC="Laptop ACPI tools"
7 MAINTAINER="lufeng369@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://rickysarraf.github.io/laptop-mode-tools/"
10 HOST_ARCH="any"
12 TARBALL="${PACKAGE}_$VERSION.tar.gz"
13 WGET_URL="http://samwel.tk/laptop_mode/tools/downloads/$TARBALL"
15 compile_rules() {
16 sed -i 's|/usr/man|/usr/share/man|' install.sh
18 make DESTDIR=$install INIT_D=none install || return 1
20 install -Dm755 $stuff/laptop-mode.sh $install/etc/init.d/laptop-mode.sh
21 }
23 genpkg_rules() {
24 copy @std
25 DEPENDS="acpid hdparm util-linux-flock util-linux-blockdev"
26 }