wok-stable view laptop-mode-tools/receipt @ rev 12349

Added: gucharmap (GNOME Character Map), gucharmap-i18n (lang files); itstool (dependence for gucharmap); ubuntu-font-family
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Oct 23 02:14:33 2012 +0000 (2012-10-23)
parents
children
line source
1 # SliTaz package receipt.
3 PACKAGE="laptop-mode-tools"
4 VERSION="1.59"
5 CATEGORY="system-tools"
6 SHORT_DESC="Laptop ACPI tools"
7 MAINTAINER="liupeng <hipeng@yahoo.com>"
8 DEPENDS="acpid hdparm util-linux-ng-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 ${PACKAGE}-$VERSION
17 make DESTDIR=$PWD/_pkg 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 }