wok-current annotate pm-utils/receipt @ rev 12203

pm-utils: fix grep params in pm/functions.in again
author Dominique Corbex <domcox@slitaz.org>
date Mon Mar 26 20:54:35 2012 +0200 (2012-03-26)
parents ca5b268ea81d
children fa389f5b7eb9
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@12203 19 sed -i 's/grep -vxFf/grep -vFf/g' pm/functions.in
domcox@2655 20 ./configure \
domcox@2655 21 --prefix=/usr \
domcox@12202 22 --sysconfdir=/etc \
domcox@2655 23 $CONFIGURE_ARGS &&
domcox@2655 24 make &&
domcox@2655 25 make DESTDIR=$PWD/_pkg install
domcox@2655 26 }
domcox@2655 27
domcox@2655 28 # Rules to gen a SliTaz package suitable for Tazpkg.
domcox@2655 29 genpkg_rules()
domcox@2655 30 {
domcox@12202 31 mkdir -p $fs/usr/lib
domcox@2655 32 cp -a $_pkg/usr/bin $fs/usr
domcox@2655 33 cp -a $_pkg/usr/sbin $fs/usr
domcox@12203 34 cp -a $_pkg/usr/lib/pm-utils $fs/usr/lib
domcox@2655 35 mkdir -p $fs/etc
domcox@12202 36 cp -a $_pkg/etc/pm $fs/etc
domcox@2655 37 }