wok-4.x view pm-utils/receipt @ rev 4035
Add: PuTTY
author | Matthew Sheets <rcx@zoominternet.net> |
---|---|
date | Mon Sep 07 17:17:20 2009 +0000 (2009-09-07) |
parents | |
children | d511eee1a7fc |
line source
1 # SliTaz package receipt.
3 PACKAGE="pm-utils"
4 VERSION="1.2.5"
5 CATEGORY="system-tools"
6 SHORT_DESC="scripts that handle suspend and resume on behalf of HAL."
7 MAINTAINER="domcox@users.sourceforge.net"
8 DEPENDS="hal-info"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://pm-utils.freedesktop.org/"
11 WGET_URL="http://pm-utils.freedesktop.org/releases/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 sed -i 's/grep -vxFf/grep -vFf/g' pm/functions.in
18 ./configure \
19 --prefix=/usr \
20 --infodir=/usr/share/info \
21 --mandir=/usr/share/man \
22 $CONFIGURE_ARGS &&
23 make &&
24 make DESTDIR=$PWD/_pkg install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr
31 cp -a $_pkg/usr/bin $fs/usr
32 cp -a $_pkg/usr/sbin $fs/usr
33 cp -a $_pkg/usr/lib $fs/usr
34 mkdir -p $fs/etc
35 cp -a $_pkg/usr/etc/pm $fs/etc
36 # strip -s $fs/usr/bin/*
37 }
39 post_install()
40 {
41 rmdir /etc/pm/config.d
42 rmdir /etc/pm/power.d
43 rmdir /etc/pm/sleep.d
44 rmdir /etc/pm
45 }