summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Schweizer <genstef@gentoo.org>2006-08-14 09:41:42 +0000
committerStefan Schweizer <genstef@gentoo.org>2006-08-14 09:41:42 +0000
commitf1895cb24de7104d996e8354a4180fa2a3809434 (patch)
tree62470d0c3d50e22ca82d157bea0e015a2d7b59e9 /sys-power/powersave
parentWANT_AUTOCONF changed to 2.5 as per QA bug #143429 (diff)
downloadgentoo-2-f1895cb24de7104d996e8354a4180fa2a3809434.tar.gz
gentoo-2-f1895cb24de7104d996e8354a4180fa2a3809434.tar.bz2
gentoo-2-f1895cb24de7104d996e8354a4180fa2a3809434.zip
version bump
(Portage version: 2.1.1_pre5)
Diffstat (limited to 'sys-power/powersave')
-rw-r--r--sys-power/powersave/ChangeLog8
-rw-r--r--sys-power/powersave/files/digest-powersave-0.12.213
-rw-r--r--sys-power/powersave/powersave-0.12.21.ebuild67
3 files changed, 77 insertions, 1 deletions
diff --git a/sys-power/powersave/ChangeLog b/sys-power/powersave/ChangeLog
index 3c9dc4d9bf37..e4532a859dcc 100644
--- a/sys-power/powersave/ChangeLog
+++ b/sys-power/powersave/ChangeLog
@@ -1,6 +1,12 @@
# 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.5 2006/08/09 18:41:24 genstef Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-power/powersave/ChangeLog,v 1.6 2006/08/14 09:41:42 genstef Exp $
+
+*powersave-0.12.21 (14 Aug 2006)
+
+ 14 Aug 2006; Stefan Schweizer <genstef@gentoo.org>
+ +powersave-0.12.21.ebuild:
+ version bump
*powersave-0.13.4 (09 Aug 2006)
diff --git a/sys-power/powersave/files/digest-powersave-0.12.21 b/sys-power/powersave/files/digest-powersave-0.12.21
new file mode 100644
index 000000000000..f87e228d9754
--- /dev/null
+++ b/sys-power/powersave/files/digest-powersave-0.12.21
@@ -0,0 +1,3 @@
+MD5 2b99d33c2c4deb1fe769c517c79c3541 powersave-0.12.21.tar.bz2 600719
+RMD160 94004befe377c722fbfd2d3925992c52558e6796 powersave-0.12.21.tar.bz2 600719
+SHA256 b398c4693834a1ae129002b3531029e19891beb4a2b9bc5c1cacff37e5a3ab8b powersave-0.12.21.tar.bz2 600719
diff --git a/sys-power/powersave/powersave-0.12.21.ebuild b/sys-power/powersave/powersave-0.12.21.ebuild
new file mode 100644
index 000000000000..b94a010a71f5
--- /dev/null
+++ b/sys-power/powersave/powersave-0.12.21.ebuild
@@ -0,0 +1,67 @@
+# 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.12.21.ebuild,v 1.1 2006/08/14 09:41:42 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
+
+ epatch "${FILESDIR}/powersave-0.13.1-asneeded.patch"
+
+ eautoreconf
+ elibtoolize
+}
+
+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
+}