wok-6.x view laptop-mode-tools/receipt @ rev 22797
Add xsane-locales
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Jan 27 10:28:49 2020 +0100 (2020-01-27) |
parents | 19ef62bc510b |
children | a5291ed096db |
line source
1 # SliTaz package receipt.
3 PACKAGE="laptop-mode-tools"
4 VERSION="1.72.2"
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-flock util-linux-blockdev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 sed -i 's|/usr/man|/usr/share/man|' install.sh
20 make DESTDIR=$DESTDIR INIT_D=none install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr/share
27 mkdir -p $fs/etc/init.d
28 mkdir -p $fs/lib
30 cp -a $install/usr/sbin $fs/usr/
31 cp -a $stuff/laptop-mode.sh $fs/etc/init.d/
32 cp -a $install/etc/acpi $fs/etc/
33 cp -a $install/etc/apm $fs/etc/
34 cp -a $install/etc/laptop-mode $fs/etc/
35 cp -a $install/etc/power $fs/etc/
36 cp -a $install/lib/udev $fs/lib/
37 cp -a $install/usr/lib/ $fs/usr/
38 cp -a $install/usr/share/pixmaps $fs/usr/share/
39 }