diff options
author | Stefan Schweizer <genstef@gentoo.org> | 2006-08-09 18:41:24 +0000 |
---|---|---|
committer | Stefan Schweizer <genstef@gentoo.org> | 2006-08-09 18:41:24 +0000 |
commit | c20763bed03b538afe73517e6670f113d83da73c (patch) | |
tree | 171b91f4ffb829aab21710dd69d4c00e6ea3af35 /sys-power/powersave | |
parent | Removed qt USE flag from mico so removing from use.local.desc (diff) | |
download | gentoo-2-c20763bed03b538afe73517e6670f113d83da73c.tar.gz gentoo-2-c20763bed03b538afe73517e6670f113d83da73c.tar.bz2 gentoo-2-c20763bed03b538afe73517e6670f113d83da73c.zip |
version bump thanks to Matt Whitlock <mwhitlock@whitsoftdev.com> in bug 143365
(Portage version: 2.1.1_pre4-r4)
Diffstat (limited to 'sys-power/powersave')
-rw-r--r-- | sys-power/powersave/ChangeLog | 8 | ||||
-rw-r--r-- | sys-power/powersave/files/digest-powersave-0.13.4 | 3 | ||||
-rw-r--r-- | sys-power/powersave/powersave-0.13.4.ebuild | 62 |
3 files changed, 72 insertions, 1 deletions
diff --git a/sys-power/powersave/ChangeLog b/sys-power/powersave/ChangeLog index 239993d354f4..3c9dc4d9bf37 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.4 2006/07/03 07:45:25 genstef Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-power/powersave/ChangeLog,v 1.5 2006/08/09 18:41:24 genstef Exp $ + +*powersave-0.13.4 (09 Aug 2006) + + 09 Aug 2006; Stefan Schweizer <genstef@gentoo.org> + +powersave-0.13.4.ebuild: + version bump thanks to Matt Whitlock <mwhitlock@whitsoftdev.com> in bug 143365 *powersave-0.12.20 (03 Jul 2006) diff --git a/sys-power/powersave/files/digest-powersave-0.13.4 b/sys-power/powersave/files/digest-powersave-0.13.4 new file mode 100644 index 000000000000..eab582a9988a --- /dev/null +++ b/sys-power/powersave/files/digest-powersave-0.13.4 @@ -0,0 +1,3 @@ +MD5 4c6e9e4d000574cde1e4be2ae05d2628 powersave-0.13.4.tar.bz2 602761 +RMD160 ab2386cedbb87d6db664d8e0e1bce684fab76f80 powersave-0.13.4.tar.bz2 602761 +SHA256 3bf9512f584aa0ed7b1cc20fcc7a5b6da2e1d6c173dfc22a946b72b6aee9a5e0 powersave-0.13.4.tar.bz2 602761 diff --git a/sys-power/powersave/powersave-0.13.4.ebuild b/sys-power/powersave/powersave-0.13.4.ebuild new file mode 100644 index 000000000000..8f03b1f0bf1d --- /dev/null +++ b/sys-power/powersave/powersave-0.13.4.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.4.ebuild,v 1.1 2006/08/09 18:41:24 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 +} |