wok-6.x rev 12202

pm-utils: add CONFIG_FILES
author Dominique Corbex <domcox@slitaz.org>
date Mon Mar 26 20:38:28 2012 +0200 (2012-03-26)
parents 628842e3017e
children fca11d7d8a60
files pm-utils/receipt
line diff
     1.1 --- a/pm-utils/receipt	Mon Mar 26 17:24:23 2012 +0200
     1.2 +++ b/pm-utils/receipt	Mon Mar 26 20:38:28 2012 +0200
     1.3 @@ -3,23 +3,22 @@
     1.4  PACKAGE="pm-utils"
     1.5  VERSION="1.4.1"
     1.6  CATEGORY="system-tools"
     1.7 -SHORT_DESC="scripts that handle suspend and resume on behalf of HAL."
     1.8 -MAINTAINER="domcox@users.sourceforge.net"
     1.9 +SHORT_DESC="Collection of scripts that handle suspend and resume."
    1.10 +MAINTAINER="domcox@slitaz.org"
    1.11  DEPENDS="bash kbd"
    1.12  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.13  WEB_SITE="http://pm-utils.freedesktop.org/"
    1.14  WGET_URL="http://pm-utils.freedesktop.org/releases/$TARBALL"
    1.15 +CONFIG_FILES="/etc/pm"
    1.16  TAGS="power-management"
    1.17  
    1.18  # Rules to configure and make the package.
    1.19  compile_rules()
    1.20  {
    1.21  	cd $src
    1.22 -	sed -i 's/grep -vxFf/grep -vFf/g' pm/functions.in
    1.23  	./configure \
    1.24  		--prefix=/usr \
    1.25 -		--infodir=/usr/share/info \
    1.26 -		--mandir=/usr/share/man \
    1.27 +		--sysconfdir=/etc \
    1.28  		$CONFIGURE_ARGS &&
    1.29  	make &&
    1.30  	make DESTDIR=$PWD/_pkg install
    1.31 @@ -28,18 +27,10 @@
    1.32  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.33  genpkg_rules()
    1.34  {
    1.35 -	mkdir -p $fs/usr
    1.36 +	mkdir -p $fs/usr/lib
    1.37  	cp -a $_pkg/usr/bin $fs/usr
    1.38  	cp -a $_pkg/usr/sbin $fs/usr
    1.39 -	cp -a $_pkg/usr/lib $fs/usr
    1.40 +	cp -a $_pkg/usr/lib/pm-utils $fs/usr
    1.41  	mkdir -p $fs/etc
    1.42 -	cp -a $_pkg/usr/etc/pm $fs/etc
    1.43 +	cp -a $_pkg/etc/pm $fs/etc
    1.44  }
    1.45 -
    1.46 -post_install()
    1.47 -{
    1.48 -	rmdir /etc/pm/config.d
    1.49 -	rmdir /etc/pm/power.d
    1.50 -	rmdir /etc/pm/sleep.d
    1.51 -	rmdir /etc/pm
    1.52 -}
    1.53 \ No newline at end of file