wok-current diff acpid/receipt @ rev 14243

lirc: remove incompatible drivers
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Mar 23 10:06:31 2013 +0100 (2013-03-23)
parents f3bc1a05a423
children 408c87fa22ca
line diff
     1.1 --- a/acpid/receipt	Fri Mar 30 14:25:23 2012 +0200
     1.2 +++ b/acpid/receipt	Sat Mar 23 10:06:31 2013 +0100
     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  }