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

add mist-icon-theme, gtk-screenshot, kkedit
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Apr 24 02:32:06 2013 +0000 (2013-04-24)
parents 73641efed1cc
children 380ffe05937a
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"
hipeng@10961 7 MAINTAINER="liupeng <hipeng@yahoo.com>"
pascal@12634 8 DEPENDS="acpid hdparm util-linux-flock util-linux-blockdev"
hipeng@10961 9 TARBALL="${PACKAGE}_$VERSION.tar.gz"
hipeng@10961 10 WEB_SITE="http://samwel.tk/laptop_mode/"
hipeng@10961 11 WGET_URL="http://samwel.tk/laptop_mode/tools/downloads/$TARBALL"
hipeng@10961 12
hipeng@10961 13 # Rules to configure and make the package.
hipeng@10961 14 compile_rules()
hipeng@10961 15 {
slaxemulator@12378 16 cd $src
slaxemulator@12378 17 make DESTDIR=$DESTDIR INIT_D=none install
hipeng@10961 18 }
hipeng@10961 19
hipeng@10961 20 # Rules to gen a SliTaz package suitable for Tazpkg.
hipeng@10961 21 genpkg_rules()
hipeng@10961 22 {
hipeng@10961 23 mkdir -p $fs/usr/sbin/ $fs/etc/init.d/ $fs/lib
hipeng@10961 24 cp -a $_pkg/usr/sbin/laptop_mode $fs/usr/sbin/
slaxemulator@12378 25 cp -a $stuff/laptop-mode.sh $fs/etc/init.d/
hipeng@10961 26 cp -a $_pkg/etc/acpi $fs/etc/
hipeng@10961 27 cp -a $_pkg/etc/laptop-mode $fs/etc/
hipeng@10961 28 cp -a $_pkg/etc/power $fs/etc/
hipeng@10961 29 cp -a $_pkg/etc/udev $fs/etc/
hipeng@10961 30 cp -a $_pkg/lib/udev $fs/lib/
hipeng@10961 31 cp -a $_pkg/usr/lib/ $fs/usr/
hipeng@10961 32 }
hipeng@10961 33