wok view 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
line source
1 # SliTaz package receipt.
3 PACKAGE="laptop-mode-tools"
4 VERSION="1.60"
5 CATEGORY="system-tools"
6 SHORT_DESC="Laptop ACPI tools"
7 MAINTAINER="liupeng <hipeng@yahoo.com>"
8 LICENSE="GPL2"
9 DEPENDS="acpid hdparm util-linux-flock util-linux-blockdev"
10 TARBALL="${PACKAGE}_$VERSION.tar.gz"
11 WEB_SITE="http://samwel.tk/laptop_mode/"
12 WGET_URL="http://samwel.tk/laptop_mode/tools/downloads/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 make DESTDIR=$DESTDIR INIT_D=none install
19 }
21 # Rules to gen a SliTaz package suitable for Tazpkg.
22 genpkg_rules()
23 {
24 mkdir -p $fs/usr/sbin/ $fs/etc/init.d/ $fs/lib
25 cp -a $install/usr/sbin/laptop_mode $fs/usr/sbin/
26 cp -a $stuff/laptop-mode.sh $fs/etc/init.d/
27 cp -a $install/etc/acpi $fs/etc/
28 cp -a $install/etc/laptop-mode $fs/etc/
29 cp -a $install/etc/power $fs/etc/
30 cp -a $install/etc/udev $fs/etc/
31 cp -a $install/lib/udev $fs/lib/
32 cp -a $install/usr/lib/ $fs/usr/
33 }