wok view laptop-mode-tools/receipt @ rev 12533

Up: xorg-xf86-input-evdev (it provide mouse and keyboard support so xorg-xf86-input-[mouse|keyboard] can be removed)
author Christophe Lincoln <pankso@slitaz.org>
date Thu Apr 26 01:50:03 2012 +0200 (2012-04-26)
parents 9b879624d2d0
children 2662eed28d15
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-ng-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 }