Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=40f14debe41eb4196e74db70f925e897d6e14bad

commit 40f14debe41eb4196e74db70f925e897d6e14bad
Author: Priyank <[EMAIL PROTECTED]>
Date:   Sat Mar 1 00:57:35 2008 +0530

pm-utils-0.99.4-1-i686
* New package / Required by hal-0.5.10 (for suspend/hibernate)
* Fixes #2546 in -current

diff --git a/source/apps/pm-utils/FrugalBuild b/source/apps/pm-utils/FrugalBuild
new file mode 100644
index 0000000..f8be0b2
--- /dev/null
+++ b/source/apps/pm-utils/FrugalBuild
@@ -0,0 +1,27 @@
+# Compiling Time: 0.01 SBU
+# Maintainer: Priyank Gosalia <[EMAIL PROTECTED]>
+
+pkgname=pm-utils
+pkgver=0.99.4
+pkgrel=1
+pkgdesc="Power Management Utilities for HAL"
+url="http://pm-utils.freedesktop.org/wiki/";
+depends=()
+groups=('apps')
+archs=('i686')
+up2date="lynx -dump $url | grep tar.gz | Flasttar"
+source=(http://cvs.fedoraproject.org/repo/pkgs/$pkgname/$pkgname-$pkgver.tar.gz/a88503876f63c96b55784be91b6458d2/$pkgname-$pkgver.tar.gz
 \
+       $pkgname-0.99.3-cfg.patch)
+sha1sums=('d8f462bceb026e72f51b2b427b24f2c863ec998a' \
+          'fb658d70c79b7810e86760e6fdc21df8aa6b9130')
+
+build()
+{
+       Fbuild
+
+       # /usr/bin/on_ac_power is provided by apmd so we don't need it.
+       Frm /usr/bin/on_ac_power
+}
+
+# optimization OK
+
diff --git a/source/apps/pm-utils/pm-utils-0.99.3-cfg.patch 
b/source/apps/pm-utils/pm-utils-0.99.3-cfg.patch
new file mode 100644
index 0000000..a210eaf
--- /dev/null
+++ b/source/apps/pm-utils/pm-utils-0.99.3-cfg.patch
@@ -0,0 +1,11 @@
+--- pm-utils-0.99.3/pm/functions.cfg   2007-05-29 15:40:55.000000000 +0200
++++ pm-utils-0.99.3/pm/functions       2007-05-29 15:41:22.000000000 +0200
+@@ -24,7 +24,7 @@
+ {
+       cfgs="/etc/pm/config.d/*[^~]"
+       for cfg in $cfgs ; do
+-              [ -f $cfgs ] || continue
++              [ -f $cfg ] || continue
+               set -a
+               . $cfg
+               set +a
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to