wok diff pm-utils/receipt @ rev 15970

arm: some was not ready to be include
author Christophe Lincoln <pankso@slitaz.org>
date Wed Feb 26 19:56:53 2014 +0100 (2014-02-26)
parents fa389f5b7eb9
children 54a5f5c453da
line diff
     1.1 --- a/pm-utils/receipt	Fri Mar 30 14:26:56 2012 +0200
     1.2 +++ b/pm-utils/receipt	Wed Feb 26 19:56:53 2014 +0100
     1.3 @@ -5,13 +5,15 @@
     1.4  CATEGORY="system-tools"
     1.5  SHORT_DESC="Collection of scripts that handle suspend and resume."
     1.6  MAINTAINER="domcox@slitaz.org"
     1.7 -DEPENDS="bash kbd"
     1.8 +LICENSE="GPL2"
     1.9  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.10  WEB_SITE="http://pm-utils.freedesktop.org/"
    1.11  WGET_URL="http://pm-utils.freedesktop.org/releases/$TARBALL"
    1.12  CONFIG_FILES="/etc/pm"
    1.13  TAGS="power-management"
    1.14  
    1.15 +DEPENDS="bash kbd"
    1.16 +
    1.17  # Rules to configure and make the package.
    1.18  compile_rules()
    1.19  {
    1.20 @@ -30,7 +32,7 @@
    1.21  		--sysconfdir=/etc \
    1.22  		$CONFIGURE_ARGS &&
    1.23  	make &&
    1.24 -	make DESTDIR=$PWD/_pkg install
    1.25 +	make DESTDIR=$DESTDIR install
    1.26  }
    1.27  
    1.28  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.29 @@ -38,13 +40,13 @@
    1.30  {
    1.31  	# main
    1.32  	mkdir -p $fs/usr/lib
    1.33 -	cp -a $_pkg/usr/bin $fs/usr
    1.34 -	cp -a $_pkg/usr/sbin $fs/usr
    1.35 -	cp -a $_pkg/usr/lib/pm-utils $fs/usr/lib
    1.36 +	cp -a $install/usr/bin $fs/usr
    1.37 +	cp -a $install/usr/sbin $fs/usr
    1.38 +	cp -a $install/usr/lib/pm-utils $fs/usr/lib
    1.39  
    1.40  	# sysconfig
    1.41  	mkdir -p $fs/etc
    1.42 -	cp -a $_pkg/etc/pm $fs/etc
    1.43 +	cp -a $install/etc/pm $fs/etc
    1.44  
    1.45  	# remove incompatible hooks
    1.46  	echo "remove incompatible hooks"