summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Kislyuk <weaver@gentoo.org>2009-07-13 02:21:46 +0000
committerAndrey Kislyuk <weaver@gentoo.org>2009-07-13 02:21:46 +0000
commit27540f4d5ad437088c75f10d239cb6985abf565d (patch)
tree0bf98e001366c73d9d4ec65eda12a5b9f4c7e4a8 /sys-power/powerman/powerman-2.3.5.ebuild
parentfix cvs header (diff)
downloadgentoo-2-27540f4d5ad437088c75f10d239cb6985abf565d.tar.gz
gentoo-2-27540f4d5ad437088c75f10d239cb6985abf565d.tar.bz2
gentoo-2-27540f4d5ad437088c75f10d239cb6985abf565d.zip
Version bump
(Portage version: 2.2_rc30/cvs/Linux x86_64)
Diffstat (limited to 'sys-power/powerman/powerman-2.3.5.ebuild')
-rw-r--r--sys-power/powerman/powerman-2.3.5.ebuild33
1 files changed, 33 insertions, 0 deletions
diff --git a/sys-power/powerman/powerman-2.3.5.ebuild b/sys-power/powerman/powerman-2.3.5.ebuild
new file mode 100644
index 000000000000..caa6e70e84d7
--- /dev/null
+++ b/sys-power/powerman/powerman-2.3.5.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-power/powerman/powerman-2.3.5.ebuild,v 1.1 2009/07/13 02:21:46 weaver Exp $
+
+EAPI="1"
+
+DESCRIPTION="RPC/PDU control and monitoring service for data center or compute cluster power management"
+HOMEPAGE="http://powerman.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="+httppower +genders"
+DEPEND="sys-devel/bison
+ httppower? ( net-misc/curl )
+ !app-accessibility/speech-tools"
+RDEPEND=">=sys-libs/freeipmi-0.2.3"
+
+src_compile() {
+ # Powerman stores the pidfile under $localstatedir/run.
+ # It's set to /var/lib in the release, but in gentoo pidfiles live under /var/run.
+ econf --localstatedir="/var" \
+ $(use_with httppower) \
+ $(use_with genders)
+ emake || die
+}
+
+src_install() {
+ emake DESTDIR="${D}" -j1 install || die
+ rm -f "${D}/etc/init.d/powerman"
+ doinitd "${FILESDIR}/powerman" || die
+ dodoc AUTHORS ChangeLog DISCLAIMER NEWS TODO
+}