wok-current view pm-utils/receipt @ rev 8987

Removed slitaz-toolchain in srcpd, xalan-c, and xerces-c build depends.
author Christopher Rogers <slaxemulator@gmail.com>
date Wed Mar 02 17:37:22 2011 +0000 (2011-03-02)
parents b2a645bceafd
children 02bbaa9d12ba
line source
1 # SliTaz package receipt.
3 PACKAGE="pm-utils"
4 VERSION="1.4.1"
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="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 TAGS="power-management"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 sed -i 's/grep -vxFf/grep -vFf/g' pm/functions.in
19 ./configure \
20 --prefix=/usr \
21 --infodir=/usr/share/info \
22 --mandir=/usr/share/man \
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
32 cp -a $_pkg/usr/bin $fs/usr
33 cp -a $_pkg/usr/sbin $fs/usr
34 cp -a $_pkg/usr/lib $fs/usr
35 mkdir -p $fs/etc
36 cp -a $_pkg/usr/etc/pm $fs/etc
37 # strip -s $fs/usr/bin/*
38 }
40 post_install()
41 {
42 rmdir /etc/pm/config.d
43 rmdir /etc/pm/power.d
44 rmdir /etc/pm/sleep.d
45 rmdir /etc/pm
46 }