wok diff laptop-mode-tools/receipt @ rev 11487

suricata: add pcre to depends
author Antoine Bodin <gokhlayeh@slitaz.org>
date Sun Dec 18 03:02:00 2011 +0100 (2011-12-18)
parents
children 9b879624d2d0
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/laptop-mode-tools/receipt	Sun Dec 18 03:02:00 2011 +0100
     1.3 @@ -0,0 +1,33 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="laptop-mode-tools"
     1.7 +VERSION="1.59"
     1.8 +CATEGORY="system-tools"
     1.9 +SHORT_DESC="Laptop ACPI tools"
    1.10 +MAINTAINER="liupeng <hipeng@yahoo.com>"
    1.11 +DEPENDS="acpid hdparm util-linux-ng-flock util-linux-ng-blockdev"
    1.12 +TARBALL="${PACKAGE}_$VERSION.tar.gz"
    1.13 +WEB_SITE="http://samwel.tk/laptop_mode/"
    1.14 +WGET_URL="http://samwel.tk/laptop_mode/tools/downloads/$TARBALL"
    1.15 +
    1.16 +# Rules to configure and make the package.
    1.17 +compile_rules()
    1.18 +{
    1.19 +	cd ${PACKAGE}-$VERSION
    1.20 +	make DESTDIR=$PWD/_pkg INIT_D=none install
    1.21 +}
    1.22 +
    1.23 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.24 +genpkg_rules()
    1.25 +{
    1.26 +	mkdir -p $fs/usr/sbin/ $fs/etc/init.d/ $fs/lib
    1.27 +	cp -a $_pkg/usr/sbin/laptop_mode $fs/usr/sbin/
    1.28 +	cp -a ./stuff/laptop-mode.sh $fs/etc/init.d/
    1.29 +	cp -a $_pkg/etc/acpi $fs/etc/
    1.30 +	cp -a $_pkg/etc/laptop-mode $fs/etc/
    1.31 +	cp -a $_pkg/etc/power $fs/etc/
    1.32 +	cp -a $_pkg/etc/udev $fs/etc/
    1.33 +	cp -a $_pkg/lib/udev $fs/lib/
    1.34 +	cp -a $_pkg/usr/lib/ $fs/usr/
    1.35 +}
    1.36 +