wok-next view laptop-mode-tools/receipt @ rev 21020
Cleaning is almost finished... I should proceed to upgrades.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 02 14:15:08 2018 +0200 (2018-11-02) |
parents | 8e1b2a143eb3 |
children | 0cbe4b1f2230 |
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/"
11 TARBALL="${PACKAGE}_$VERSION.tar.gz"
12 WGET_URL="http://samwel.tk/laptop_mode/tools/downloads/$TARBALL"
14 compile_rules() {
15 sed -i 's|/usr/man|/usr/share/man|' install.sh
17 make DESTDIR=$install INIT_D=none install || return 1
19 install -Dm755 $stuff/laptop-mode.sh $install/etc/init.d/laptop-mode.sh
20 }
22 genpkg_rules() {
23 copy @std
24 DEPENDS="acpid hdparm util-linux-flock util-linux-blockdev"
25 }