wok annotate laptop-mode-tools/receipt @ rev 16757

Up sshfs-fuse (2.5)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jun 16 20:36:28 2014 +0200 (2014-06-16)
parents 380ffe05937a
children e8c84b81fa04
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 {
slaxemulator@12378 17 cd $src
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 }
hipeng@10961 34