wok-6.x rev 12378

Up: laptop-mode-tools to 1.60.
author Christopher Rogers <slaxemulator@gmail.com>
date Thu Apr 19 22:23:48 2012 +0000 (2012-04-19)
parents 3d1ea792d2c3
children 8d0494b159cc
files laptop-mode-tools/receipt
line diff
     1.1 --- a/laptop-mode-tools/receipt	Thu Apr 19 22:02:21 2012 +0000
     1.2 +++ b/laptop-mode-tools/receipt	Thu Apr 19 22:23:48 2012 +0000
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="laptop-mode-tools"
     1.7 -VERSION="1.59"
     1.8 +VERSION="1.60"
     1.9  CATEGORY="system-tools"
    1.10  SHORT_DESC="Laptop ACPI tools"
    1.11  MAINTAINER="liupeng <hipeng@yahoo.com>"
    1.12 @@ -13,8 +13,8 @@
    1.13  # Rules to configure and make the package.
    1.14  compile_rules()
    1.15  {
    1.16 -	cd ${PACKAGE}-$VERSION
    1.17 -	make DESTDIR=$PWD/_pkg INIT_D=none install
    1.18 +	cd $src
    1.19 +	make DESTDIR=$DESTDIR INIT_D=none install
    1.20  }
    1.21  
    1.22  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.23 @@ -22,7 +22,7 @@
    1.24  {
    1.25  	mkdir -p $fs/usr/sbin/ $fs/etc/init.d/ $fs/lib
    1.26  	cp -a $_pkg/usr/sbin/laptop_mode $fs/usr/sbin/
    1.27 -	cp -a ./stuff/laptop-mode.sh $fs/etc/init.d/
    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/