wok-next view laptop-mode-tools/receipt @ rev 20402
Up seed (3.8.1) use webkitgtk instead of libwebkit; add cogl for clutter; up clutter (1.26.2) using mesa17 instead of mesa; up gnome-games using mesa17 instead of mix 'mesa & mesa17'
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Dec 05 17:49:11 2017 +0200 (2017-12-05) |
parents | 8d64ce80ab95 |
children | 8e1b2a143eb3 |
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="lufeng369@slitaz.org"
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 sed -i 's|/usr/man|/usr/share/man|' install.sh
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 }