wok annotate pm-utils/receipt @ 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 | 02bbaa9d12ba |
children | fca11d7d8a60 |
rev | line source |
---|---|
domcox@2655 | 1 # SliTaz package receipt. |
domcox@2655 | 2 |
domcox@2655 | 3 PACKAGE="pm-utils" |
domcox@6084 | 4 VERSION="1.4.1" |
domcox@2655 | 5 CATEGORY="system-tools" |
domcox@12202 | 6 SHORT_DESC="Collection of scripts that handle suspend and resume." |
domcox@12202 | 7 MAINTAINER="domcox@slitaz.org" |
domcox@6084 | 8 DEPENDS="bash kbd" |
domcox@2655 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
domcox@2655 | 10 WEB_SITE="http://pm-utils.freedesktop.org/" |
domcox@2655 | 11 WGET_URL="http://pm-utils.freedesktop.org/releases/$TARBALL" |
domcox@12202 | 12 CONFIG_FILES="/etc/pm" |
domcox@6097 | 13 TAGS="power-management" |
domcox@2655 | 14 |
domcox@2655 | 15 # Rules to configure and make the package. |
domcox@2655 | 16 compile_rules() |
domcox@2655 | 17 { |
domcox@2655 | 18 cd $src |
domcox@2655 | 19 ./configure \ |
domcox@2655 | 20 --prefix=/usr \ |
domcox@12202 | 21 --sysconfdir=/etc \ |
domcox@2655 | 22 $CONFIGURE_ARGS && |
domcox@2655 | 23 make && |
domcox@2655 | 24 make DESTDIR=$PWD/_pkg install |
domcox@2655 | 25 } |
domcox@2655 | 26 |
domcox@2655 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
domcox@2655 | 28 genpkg_rules() |
domcox@2655 | 29 { |
domcox@12202 | 30 mkdir -p $fs/usr/lib |
domcox@2655 | 31 cp -a $_pkg/usr/bin $fs/usr |
domcox@2655 | 32 cp -a $_pkg/usr/sbin $fs/usr |
domcox@12202 | 33 cp -a $_pkg/usr/lib/pm-utils $fs/usr |
domcox@2655 | 34 mkdir -p $fs/etc |
domcox@12202 | 35 cp -a $_pkg/etc/pm $fs/etc |
domcox@2655 | 36 } |