wok view laptop-mode-tools/receipt @ rev 22042

gcc83-lib-base: do NOT provide gcc-lib-base
Currently BOTH gcc-lib-base and gcc83-lib-base are installed on my SliTaz system. So, with the current (and longstanding) tazpkg limitations I can't update just gcc-lib-base: tazpkg always updates gcc83-lib-base for me instead. Now I can't run Firefox, Vivaldi, Chrome, etc. I think because of gcc-lib-base, but I not sure 1bsolutely.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Oct 22 12:55:54 2019 +0300 (2019-10-22)
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 }