wok-current rev 12866

Up: acpid to 2.0.16.
author Christopher Rogers <slaxemulator@gmail.com>
date Thu May 24 21:29:12 2012 +0000 (2012-05-24)
parents 56dab4b7208f
children 71f2fec8fdc4
files acpid/receipt
line diff
     1.1 --- a/acpid/receipt	Thu May 24 21:17:01 2012 +0000
     1.2 +++ b/acpid/receipt	Thu May 24 21:29:12 2012 +0000
     1.3 @@ -1,11 +1,11 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="acpid"
     1.7 -VERSION="2.0.14"
     1.8 +VERSION="2.0.16"
     1.9  CATEGORY="system-tools"
    1.10  SHORT_DESC="The ACPI event daemon with netlink"
    1.11  MAINTAINER="domcox@slitaz.org"
    1.12 -TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.13 +TARBALL="$PACKAGE-$VERSION.tar.xz"
    1.14  WEB_SITE="http://tedfelix.com/linux/acpid-netlink.html"
    1.15  WGET_URL="http://www.tedfelix.com/linux/$TARBALL"
    1.16  KEY_FILE="key-constants"
    1.17 @@ -17,7 +17,8 @@
    1.18  {
    1.19  	# Build
    1.20  	cd $src
    1.21 -	make clean && make
    1.22 +	./configure --prefix=/usr $CONFIGURE_ARGS &&
    1.23 +	make &&
    1.24  	make DESTDIR=$DESTDIR install
    1.25  }
    1.26  
    1.27 @@ -54,5 +55,7 @@
    1.28  
    1.29  pre_remove()
    1.30  {
    1.31 -	/etc/init.d/acpid stop
    1.32 +	if [ -z "$1" ]; then
    1.33 +		/etc/init.d/acpid stop
    1.34 +	fi
    1.35  }