wok-6.x view laptop-mode-tools/receipt @ rev 23065
miro: update for ffmpeg
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Mar 09 18:50:16 2020 +0100 (2020-03-09) |
parents | c1fae01bcb7a |
children | 5ea0ce1cecc0 |
line source
1 # SliTaz package receipt.
3 PACKAGE="laptop-mode-tools"
4 VERSION="1.73.1"
5 CATEGORY="system-tools"
6 SHORT_DESC="Laptop ACPI tools."
7 MAINTAINER="lufeng369@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://github.com/rickysarraf/laptop-mode-tools"
11 TARBALL="${PACKAGE}_$VERSION.tar.gz"
12 WGET_URL="https://github.com/rickysarraf/$PACKAGE/releases/download/$VERSION/$TARBALL"
14 DEPENDS="acpid hdparm python util-linux-blockdev util-linux-flock"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 sed -i 's|/usr/man|/usr/share/man|' \
20 install.sh
22 make DESTDIR=$DESTDIR INIT_D=none install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/share
29 mkdir -p $fs/etc/init.d
30 mkdir -p $fs/lib
32 cp -a $install/usr/sbin $fs/usr/
33 cp -a $stuff/laptop-mode.sh $fs/etc/init.d/
34 cp -a $install/etc/acpi $fs/etc/
35 cp -a $install/etc/apm $fs/etc/
36 cp -a $install/etc/laptop-mode $fs/etc/
37 cp -a $install/etc/power $fs/etc/
38 cp -a $install/lib/udev $fs/lib/
39 cp -a $install/usr/lib/ $fs/usr/
40 cp -a $install/usr/share/pixmaps $fs/usr/share/
41 }