diff options
author | Stefan Schweizer <genstef@gentoo.org> | 2006-07-03 07:45:25 +0000 |
---|---|---|
committer | Stefan Schweizer <genstef@gentoo.org> | 2006-07-03 07:45:25 +0000 |
commit | 3be9709e566037f7b8481129ac0e5679203cad39 (patch) | |
tree | 7ac006bbdc2a515408ca90e24e2eea389270ea2e /sys-power/powersave | |
parent | stable amd64 (diff) | |
download | gentoo-2-3be9709e566037f7b8481129ac0e5679203cad39.tar.gz gentoo-2-3be9709e566037f7b8481129ac0e5679203cad39.tar.bz2 gentoo-2-3be9709e566037f7b8481129ac0e5679203cad39.zip |
version bump, remove old unstable ebuild
(Portage version: 2.1.1_pre2-r1)
Diffstat (limited to 'sys-power/powersave')
-rw-r--r-- | sys-power/powersave/ChangeLog | 8 | ||||
-rw-r--r-- | sys-power/powersave/files/digest-powersave-0.12.20 | 3 | ||||
-rw-r--r-- | sys-power/powersave/powersave-0.12.20.ebuild | 67 |
3 files changed, 77 insertions, 1 deletions
diff --git a/sys-power/powersave/ChangeLog b/sys-power/powersave/ChangeLog index 67844b61f88b..239993d354f4 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.3 2006/06/21 07:09:30 genstef Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-power/powersave/ChangeLog,v 1.4 2006/07/03 07:45:25 genstef Exp $ + +*powersave-0.12.20 (03 Jul 2006) + + 03 Jul 2006; Stefan Schweizer <genstef@gentoo.org> + +powersave-0.12.20.ebuild, -powersave-0.13.1.ebuild: + version bump, remove old unstable ebuild 21 Jun 2006; Stefan Schweizer <genstef@gentoo.org> powersave-0.13.1.ebuild: diff --git a/sys-power/powersave/files/digest-powersave-0.12.20 b/sys-power/powersave/files/digest-powersave-0.12.20 new file mode 100644 index 000000000000..4d1d40a47b54 --- /dev/null +++ b/sys-power/powersave/files/digest-powersave-0.12.20 @@ -0,0 +1,3 @@ +MD5 ea0de50de7b89f57e4134d0027d7c697 powersave-0.12.20.tar.bz2 577002 +RMD160 aa89b651f2a480f35a2dcf64dda9483088b386d9 powersave-0.12.20.tar.bz2 577002 +SHA256 291e233a8312afbbe6e6a6e50954597748a226a662bced583f0b7630f58fdbf4 powersave-0.12.20.tar.bz2 577002 diff --git a/sys-power/powersave/powersave-0.12.20.ebuild b/sys-power/powersave/powersave-0.12.20.ebuild new file mode 100644 index 000000000000..a4caa9b17ca9 --- /dev/null +++ b/sys-power/powersave/powersave-0.12.20.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.20.ebuild,v 1.1 2006/07/03 07:45:25 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 +} |