wok-current annotate laptop-mode-tools/receipt @ rev 15000
Add some GPL2 licenses
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Aug 10 17:00:38 2013 +0000 (2013-08-10) |
parents | 2662eed28d15 |
children | 8d64ce80ab95 |
rev | line source |
---|---|
hipeng@10961 | 1 # SliTaz package receipt. |
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" |
hipeng@10961 | 7 MAINTAINER="liupeng <hipeng@yahoo.com>" |
pascal@15000 | 8 LICENSE="GPL2" |
pascal@12634 | 9 DEPENDS="acpid hdparm util-linux-flock util-linux-blockdev" |
hipeng@10961 | 10 TARBALL="${PACKAGE}_$VERSION.tar.gz" |
hipeng@10961 | 11 WEB_SITE="http://samwel.tk/laptop_mode/" |
hipeng@10961 | 12 WGET_URL="http://samwel.tk/laptop_mode/tools/downloads/$TARBALL" |
hipeng@10961 | 13 |
hipeng@10961 | 14 # Rules to configure and make the package. |
hipeng@10961 | 15 compile_rules() |
hipeng@10961 | 16 { |
slaxemulator@12378 | 17 cd $src |
slaxemulator@12378 | 18 make DESTDIR=$DESTDIR INIT_D=none install |
hipeng@10961 | 19 } |
hipeng@10961 | 20 |
hipeng@10961 | 21 # Rules to gen a SliTaz package suitable for Tazpkg. |
hipeng@10961 | 22 genpkg_rules() |
hipeng@10961 | 23 { |
hipeng@10961 | 24 mkdir -p $fs/usr/sbin/ $fs/etc/init.d/ $fs/lib |
pascal@15000 | 25 cp -a $install/usr/sbin/laptop_mode $fs/usr/sbin/ |
slaxemulator@12378 | 26 cp -a $stuff/laptop-mode.sh $fs/etc/init.d/ |
pascal@15000 | 27 cp -a $install/etc/acpi $fs/etc/ |
pascal@15000 | 28 cp -a $install/etc/laptop-mode $fs/etc/ |
pascal@15000 | 29 cp -a $install/etc/power $fs/etc/ |
pascal@15000 | 30 cp -a $install/etc/udev $fs/etc/ |
pascal@15000 | 31 cp -a $install/lib/udev $fs/lib/ |
pascal@15000 | 32 cp -a $install/usr/lib/ $fs/usr/ |
hipeng@10961 | 33 } |
hipeng@10961 | 34 |