wok-current view laptop-mode-tools/receipt @ rev 12481

Rename linux-util-ng to util-linux in all packages
author Christophe Lincoln <pankso@slitaz.org>
date Mon Apr 23 16:30:27 2012 +0200 (2012-04-23)
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 }