wok-current annotate laptop-mode-tools/receipt @ rev 22477
updated alarm-clock again (1.4.3 -> 1.4.9)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Dec 28 14:49:21 2019 +0100 (2019-12-28) |
parents | 19ef62bc510b |
children | a5291ed096db |
rev | line source |
---|---|
hipeng@10961 | 1 # SliTaz package receipt. |
hipeng@10961 | 2 |
hipeng@10961 | 3 PACKAGE="laptop-mode-tools" |
Hans-G?nter@21096 | 4 VERSION="1.72.2" |
hipeng@10961 | 5 CATEGORY="system-tools" |
Hans-G?nter@21096 | 6 SHORT_DESC="Laptop ACPI tools." |
pascal@16047 | 7 MAINTAINER="lufeng369@slitaz.org" |
pascal@15000 | 8 LICENSE="GPL2" |
Hans-G?nter@21096 | 9 WEB_SITE="https://github.com/rickysarraf/laptop-mode-tools" |
Hans-G?nter@21096 | 10 |
Hans-G?nter@21096 | 11 TARBALL="${PACKAGE}_$VERSION.tar.gz" |
Hans-G?nter@21096 | 12 WGET_URL="https://github.com/rickysarraf/$PACKAGE/releases/download/$VERSION/$TARBALL" |
Hans-G?nter@21096 | 13 |
Hans-G?nter@21638 | 14 DEPENDS="acpid hdparm python util-linux-flock util-linux-blockdev" |
hipeng@10961 | 15 |
hipeng@10961 | 16 # Rules to configure and make the package. |
hipeng@10961 | 17 compile_rules() |
hipeng@10961 | 18 { |
pascal@19291 | 19 sed -i 's|/usr/man|/usr/share/man|' install.sh |
slaxemulator@12378 | 20 make DESTDIR=$DESTDIR INIT_D=none install |
hipeng@10961 | 21 } |
hipeng@10961 | 22 |
hipeng@10961 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
hipeng@10961 | 24 genpkg_rules() |
hipeng@10961 | 25 { |
Hans-G?nter@21563 | 26 mkdir -p $fs/usr/share |
Hans-G?nter@21563 | 27 mkdir -p $fs/etc/init.d |
Hans-G?nter@21096 | 28 mkdir -p $fs/lib |
Hans-G?nter@21096 | 29 |
Hans-G?nter@21563 | 30 cp -a $install/usr/sbin $fs/usr/ |
Hans-G?nter@21096 | 31 cp -a $stuff/laptop-mode.sh $fs/etc/init.d/ |
Hans-G?nter@21096 | 32 cp -a $install/etc/acpi $fs/etc/ |
Hans-G?nter@21099 | 33 cp -a $install/etc/apm $fs/etc/ |
Hans-G?nter@21096 | 34 cp -a $install/etc/laptop-mode $fs/etc/ |
Hans-G?nter@21096 | 35 cp -a $install/etc/power $fs/etc/ |
Hans-G?nter@21096 | 36 cp -a $install/lib/udev $fs/lib/ |
Hans-G?nter@21096 | 37 cp -a $install/usr/lib/ $fs/usr/ |
Hans-G?nter@21563 | 38 cp -a $install/usr/share/pixmaps $fs/usr/share/ |
hipeng@10961 | 39 } |