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