wok view laptop-mode-tools/receipt @ rev 12705
Up: emelfm2 (0.8.1)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri May 04 15:44:59 2012 +0200 (2012-05-04) |
parents | 73641efed1cc |
children | 380ffe05937a |
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 DEPENDS="acpid hdparm util-linux-flock util-linux-blockdev"
9 TARBALL="${PACKAGE}_$VERSION.tar.gz"
10 WEB_SITE="http://samwel.tk/laptop_mode/"
11 WGET_URL="http://samwel.tk/laptop_mode/tools/downloads/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 make DESTDIR=$DESTDIR INIT_D=none install
18 }
20 # Rules to gen a SliTaz package suitable for Tazpkg.
21 genpkg_rules()
22 {
23 mkdir -p $fs/usr/sbin/ $fs/etc/init.d/ $fs/lib
24 cp -a $_pkg/usr/sbin/laptop_mode $fs/usr/sbin/
25 cp -a $stuff/laptop-mode.sh $fs/etc/init.d/
26 cp -a $_pkg/etc/acpi $fs/etc/
27 cp -a $_pkg/etc/laptop-mode $fs/etc/
28 cp -a $_pkg/etc/power $fs/etc/
29 cp -a $_pkg/etc/udev $fs/etc/
30 cp -a $_pkg/lib/udev $fs/lib/
31 cp -a $_pkg/usr/lib/ $fs/usr/
32 }