wok-next annotate laptop-mode-tools/receipt @ rev 21047

Up tazpkg (971), cookutils (1095)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Nov 26 21:15:05 2018 +0200 (2018-11-26)
parents 8e1b2a143eb3
children 0cbe4b1f2230
rev   line source
al@21020 1 # SliTaz package receipt v2.
hipeng@10961 2
hipeng@10961 3 PACKAGE="laptop-mode-tools"
slaxemulator@12378 4 VERSION="1.60"
hipeng@10961 5 CATEGORY="system-tools"
hipeng@10961 6 SHORT_DESC="Laptop ACPI tools"
pascal@16047 7 MAINTAINER="lufeng369@slitaz.org"
pascal@15000 8 LICENSE="GPL2"
al@21020 9 WEB_SITE="http://rickysarraf.github.io/laptop-mode-tools/"
al@21020 10
hipeng@10961 11 TARBALL="${PACKAGE}_$VERSION.tar.gz"
hipeng@10961 12 WGET_URL="http://samwel.tk/laptop_mode/tools/downloads/$TARBALL"
hipeng@10961 13
al@21020 14 compile_rules() {
pascal@19291 15 sed -i 's|/usr/man|/usr/share/man|' install.sh
al@21020 16
al@21020 17 make DESTDIR=$install INIT_D=none install || return 1
al@21020 18
al@21020 19 install -Dm755 $stuff/laptop-mode.sh $install/etc/init.d/laptop-mode.sh
hipeng@10961 20 }
hipeng@10961 21
al@21020 22 genpkg_rules() {
al@21020 23 copy @std
al@21020 24 DEPENDS="acpid hdparm util-linux-flock util-linux-blockdev"
hipeng@10961 25 }