wok diff pm-utils/receipt @ rev 4467

Up: mplayer-svn; improve compile options; drop shared ffmpeg options for now
author Rohit Joshi <jozee@slitaz.org>
date Mon Nov 09 10:24:39 2009 +0000 (2009-11-09)
parents
children d511eee1a7fc
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/pm-utils/receipt	Mon Nov 09 10:24:39 2009 +0000
     1.3 @@ -0,0 +1,45 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="pm-utils"
     1.7 +VERSION="1.2.5"
     1.8 +CATEGORY="system-tools"
     1.9 +SHORT_DESC="scripts that handle suspend and resume on behalf of HAL."
    1.10 +MAINTAINER="domcox@users.sourceforge.net"
    1.11 +DEPENDS="hal-info"
    1.12 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.13 +WEB_SITE="http://pm-utils.freedesktop.org/"
    1.14 +WGET_URL="http://pm-utils.freedesktop.org/releases/$TARBALL"
    1.15 +
    1.16 +# Rules to configure and make the package.
    1.17 +compile_rules()
    1.18 +{
    1.19 +	cd $src
    1.20 +	sed -i 's/grep -vxFf/grep -vFf/g' pm/functions.in
    1.21 +	./configure \
    1.22 +		--prefix=/usr \
    1.23 +		--infodir=/usr/share/info \
    1.24 +		--mandir=/usr/share/man \
    1.25 +		$CONFIGURE_ARGS &&
    1.26 +	make &&
    1.27 +	make DESTDIR=$PWD/_pkg install
    1.28 +}
    1.29 +
    1.30 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.31 +genpkg_rules()
    1.32 +{
    1.33 +	mkdir -p $fs/usr
    1.34 +	cp -a $_pkg/usr/bin $fs/usr
    1.35 +	cp -a $_pkg/usr/sbin $fs/usr
    1.36 +	cp -a $_pkg/usr/lib $fs/usr
    1.37 +	mkdir -p $fs/etc
    1.38 +	cp -a $_pkg/usr/etc/pm $fs/etc
    1.39 +#	strip -s $fs/usr/bin/*
    1.40 +}
    1.41 +
    1.42 +post_install()
    1.43 +{
    1.44 +	rmdir /etc/pm/config.d
    1.45 +	rmdir /etc/pm/power.d
    1.46 +	rmdir /etc/pm/sleep.d
    1.47 +	rmdir /etc/pm
    1.48 +}
    1.49 \ No newline at end of file