summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Schweizer <genstef@gentoo.org>2006-08-14 13:32:23 +0000
committerStefan Schweizer <genstef@gentoo.org>2006-08-14 13:32:23 +0000
commit60cdf0a9d6b73a51d2ba928ff530e5f8d5a25d1a (patch)
tree746e46ec05f47d11f57b6fe721250e2d23b65a20 /sys-power/powersave
parentfix mmx+pic on x86 (diff)
downloadhistorical-60cdf0a9d6b73a51d2ba928ff530e5f8d5a25d1a.tar.gz
historical-60cdf0a9d6b73a51d2ba928ff530e5f8d5a25d1a.tar.bz2
historical-60cdf0a9d6b73a51d2ba928ff530e5f8d5a25d1a.zip
version bump thanks to GerbilSoft <gerbilsoft@comcast.net> in bug 143859
Package-Manager: portage-2.1.1_pre5-r1
Diffstat (limited to 'sys-power/powersave')
-rw-r--r--sys-power/powersave/ChangeLog9
-rw-r--r--sys-power/powersave/files/digest-powersave-0.13.53
-rw-r--r--sys-power/powersave/powersave-0.13.5.ebuild62
3 files changed, 73 insertions, 1 deletions
diff --git a/sys-power/powersave/ChangeLog b/sys-power/powersave/ChangeLog
index e4532a859dcc..a498b7e7aaac 100644
--- a/sys-power/powersave/ChangeLog
+++ b/sys-power/powersave/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for sys-power/powersave
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-power/powersave/ChangeLog,v 1.6 2006/08/14 09:41:42 genstef Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-power/powersave/ChangeLog,v 1.7 2006/08/14 13:32:23 genstef Exp $
+
+*powersave-0.13.5 (14 Aug 2006)
+
+ 14 Aug 2006; Stefan Schweizer <genstef@gentoo.org>
+ -powersave-0.12.20.ebuild, -powersave-0.13.4.ebuild,
+ +powersave-0.13.5.ebuild:
+ version bump thanks to GerbilSoft <gerbilsoft@comcast.net> in bug 143859
*powersave-0.12.21 (14 Aug 2006)
diff --git a/sys-power/powersave/files/digest-powersave-0.13.5 b/sys-power/powersave/files/digest-powersave-0.13.5
new file mode 100644
index 000000000000..10d6f3b0a8bd
--- /dev/null
+++ b/sys-power/powersave/files/digest-powersave-0.13.5
@@ -0,0 +1,3 @@
+MD5 ed5bc24783af5f16d057fdd2727f1921 powersave-0.13.5.tar.bz2 602822
+RMD160 9e4a478ae1c6e4332b809030b98b62990023ad4d powersave-0.13.5.tar.bz2 602822
+SHA256 490041b17d56a1db0345da6ef27f1c9b9360b4542b6281db8511602ff705000a powersave-0.13.5.tar.bz2 602822
diff --git a/sys-power/powersave/powersave-0.13.5.ebuild b/sys-power/powersave/powersave-0.13.5.ebuild
new file mode 100644
index 000000000000..e1c829fdd335
--- /dev/null
+++ b/sys-power/powersave/powersave-0.13.5.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-power/powersave/powersave-0.13.5.ebuild,v 1.1 2006/08/14 13:32:23 genstef Exp $
+
+inherit eutils libtool kde-functions autotools
+
+DESCRIPTION="Powersave Daemon"
+SRC_URI="mirror://sourceforge/powersave/${P}.tar.bz2"
+HOMEPAGE="http://powersave.sf.net/"
+KEYWORDS="~x86 ~amd64"
+SLOT="0"
+LICENSE="GPL-2"
+IUSE="pam_console doc"
+
+
+RDEPEND=">=sys-apps/dbus-0.30
+ >=sys-apps/hal-0.5.3
+ >=sys-power/cpufrequtils-001
+ pam_console? ( sys-libs/pam )"
+DEPEND="${RDEPEND}
+ doc? (
+ app-doc/doxygen
+ virtual/tetex
+ www-client/lynx
+ )"
+
+pkg_setup() {
+ if use pam_console && ! built_with_use sys-libs/pam pam_console ; then
+ eerror "You need to build pam with pam_console support"
+ eerror "Please remerge sys-libs/pam with USE=pam_console"
+ die "pam without pam_console detected"
+ fi
+}
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ # Use pam_console or group plugdev to control access to powersave
+ use pam_console || epatch ${FILESDIR}/plugdev_access.patch
+}
+
+src_compile() {
+ set-kdedir
+
+ econf \
+ --with-gnome-bindir=/usr/bin \
+ --with-kde-bindir=${KDEDIR}/bin \
+ $(use_enable doc docs) || die "econf failed"
+
+ emake || die "emake failed"
+}
+
+src_install() {
+ emake DESTDIR=${D} install || die "emake install failed"
+
+ rm ${D}/usr/sbin/rcpowersaved
+ rm -rf ${D}/usr/share/doc/packages
+
+ dodoc docs/powersave.html docs/powersave_manual.txt
+
+ newinitd ${FILESDIR}/powersaved.rc powersaved
+}