wok-stable annotate laptop-mode-tools/receipt @ rev 12349

Added: gucharmap (GNOME Character Map), gucharmap-i18n (lang files); itstool (dependence for gucharmap); ubuntu-font-family
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Oct 23 02:14:33 2012 +0000 (2012-10-23)
parents
children
rev   line source
hipeng@10961 1 # SliTaz package receipt.
hipeng@10961 2
hipeng@10961 3 PACKAGE="laptop-mode-tools"
hipeng@10961 4 VERSION="1.59"
hipeng@10961 5 CATEGORY="system-tools"
hipeng@10961 6 SHORT_DESC="Laptop ACPI tools"
hipeng@10961 7 MAINTAINER="liupeng <hipeng@yahoo.com>"
hipeng@10961 8 DEPENDS="acpid hdparm util-linux-ng-flock util-linux-ng-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 {
hipeng@10961 16 cd ${PACKAGE}-$VERSION
hipeng@10961 17 make DESTDIR=$PWD/_pkg 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/
hipeng@10961 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