wok-current annotate laptop-mode-tools/receipt @ rev 19444

Up libssh2 (1.7.0) CVE-2016-0787
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Oct 14 18:55:24 2016 +0200 (2016-10-14)
parents 8d64ce80ab95
children 4e6e6bbe01bc
rev   line source
hipeng@10961 1 # SliTaz package receipt.
hipeng@10961 2
hipeng@10961 3 PACKAGE="laptop-mode-tools"
slaxemulator@12378 4 VERSION="1.60"
hipeng@10961 5 CATEGORY="system-tools"
hipeng@10961 6 SHORT_DESC="Laptop ACPI tools"
pascal@16047 7 MAINTAINER="lufeng369@slitaz.org"
pascal@15000 8 LICENSE="GPL2"
pascal@12634 9 DEPENDS="acpid hdparm util-linux-flock util-linux-blockdev"
hipeng@10961 10 TARBALL="${PACKAGE}_$VERSION.tar.gz"
hipeng@10961 11 WEB_SITE="http://samwel.tk/laptop_mode/"
hipeng@10961 12 WGET_URL="http://samwel.tk/laptop_mode/tools/downloads/$TARBALL"
hipeng@10961 13
hipeng@10961 14 # Rules to configure and make the package.
hipeng@10961 15 compile_rules()
hipeng@10961 16 {
pascal@19291 17 sed -i 's|/usr/man|/usr/share/man|' install.sh
slaxemulator@12378 18 make DESTDIR=$DESTDIR INIT_D=none install
hipeng@10961 19 }
hipeng@10961 20
hipeng@10961 21 # Rules to gen a SliTaz package suitable for Tazpkg.
hipeng@10961 22 genpkg_rules()
hipeng@10961 23 {
hipeng@10961 24 mkdir -p $fs/usr/sbin/ $fs/etc/init.d/ $fs/lib
pascal@15000 25 cp -a $install/usr/sbin/laptop_mode $fs/usr/sbin/
slaxemulator@12378 26 cp -a $stuff/laptop-mode.sh $fs/etc/init.d/
pascal@15000 27 cp -a $install/etc/acpi $fs/etc/
pascal@15000 28 cp -a $install/etc/laptop-mode $fs/etc/
pascal@15000 29 cp -a $install/etc/power $fs/etc/
pascal@15000 30 cp -a $install/etc/udev $fs/etc/
pascal@15000 31 cp -a $install/lib/udev $fs/lib/
pascal@15000 32 cp -a $install/usr/lib/ $fs/usr/
hipeng@10961 33 }