summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Schweizer <genstef@gentoo.org>2007-04-08 12:36:14 +0000
committerStefan Schweizer <genstef@gentoo.org>2007-04-08 12:36:14 +0000
commite583b6cef8fa3e258253ccfa5878655d107cb3c4 (patch)
treea78c8019abda5cfb4c34279258e313a282b46b64 /sys-power/powersave
parentStable on ppc64; bug #173207 (diff)
downloadgentoo-2-e583b6cef8fa3e258253ccfa5878655d107cb3c4.tar.gz
gentoo-2-e583b6cef8fa3e258253ccfa5878655d107cb3c4.tar.bz2
gentoo-2-e583b6cef8fa3e258253ccfa5878655d107cb3c4.zip
version bump
(Portage version: 2.1.2.3)
Diffstat (limited to 'sys-power/powersave')
-rw-r--r--sys-power/powersave/ChangeLog8
-rw-r--r--sys-power/powersave/files/digest-powersave-0.15.113
-rw-r--r--sys-power/powersave/powersave-0.15.11.ebuild61
3 files changed, 71 insertions, 1 deletions
diff --git a/sys-power/powersave/ChangeLog b/sys-power/powersave/ChangeLog
index d8108f285727..c632d50685eb 100644
--- a/sys-power/powersave/ChangeLog
+++ b/sys-power/powersave/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sys-power/powersave
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-power/powersave/ChangeLog,v 1.16 2007/03/18 20:17:38 beandog Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-power/powersave/ChangeLog,v 1.17 2007/04/08 12:36:14 genstef Exp $
+
+*powersave-0.15.11 (08 Apr 2007)
+
+ 08 Apr 2007; Stefan Schweizer <genstef@gentoo.org>
+ +powersave-0.15.11.ebuild:
+ version bump
18 Mar 2007; Steve Dibb <beandog@gentoo.org> powersave-0.14.0.ebuild:
amd64 stable, bug 132621
diff --git a/sys-power/powersave/files/digest-powersave-0.15.11 b/sys-power/powersave/files/digest-powersave-0.15.11
new file mode 100644
index 000000000000..6d6d14a5f6db
--- /dev/null
+++ b/sys-power/powersave/files/digest-powersave-0.15.11
@@ -0,0 +1,3 @@
+MD5 f06e9e33f8d659fc044fdc6efbfbad64 powersave-0.15.11.tar.bz2 542383
+RMD160 cc13e67fcd22c397ed3b44f2097fbe0e05f7a766 powersave-0.15.11.tar.bz2 542383
+SHA256 1478bf3d21b7444ccdff6fb35b1cd28f81f48a842a097705f7ed6ac3029f0ea5 powersave-0.15.11.tar.bz2 542383
diff --git a/sys-power/powersave/powersave-0.15.11.ebuild b/sys-power/powersave/powersave-0.15.11.ebuild
new file mode 100644
index 000000000000..99acad1e8966
--- /dev/null
+++ b/sys-power/powersave/powersave-0.15.11.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-power/powersave/powersave-0.15.11.ebuild,v 1.1 2007/04/08 12:36:14 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="~amd64 ~x86"
+SLOT="0"
+LICENSE="GPL-2"
+IUSE="pam_console doc"
+
+RDEPEND="|| ( dev-libs/dbus-glib ( <sys-apps/dbus-0.90 >=sys-apps/dbus-0.34 ) )
+ >=sys-apps/hal-0.5.3
+ >=sys-power/cpufrequtils-001
+ pam_console? ( || ( sys-auth/pam_console <sys-libs/pam-0.99 ) )"
+DEPEND="${RDEPEND}
+ doc? (
+ app-doc/doxygen
+ virtual/tetex
+ www-client/lynx
+ )"
+
+pkg_setup() {
+ if use pam_console && has_version "<sys-libs/pam-0.99" && ! 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
+}