diff options
Diffstat (limited to 'sys-power/powerman/powerman-2.3.ebuild')
-rw-r--r-- | sys-power/powerman/powerman-2.3.ebuild | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/sys-power/powerman/powerman-2.3.ebuild b/sys-power/powerman/powerman-2.3.ebuild new file mode 100644 index 000000000000..9f588df106e4 --- /dev/null +++ b/sys-power/powerman/powerman-2.3.ebuild @@ -0,0 +1,30 @@ +# 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.ebuild,v 1.1 2009/01/03 06:00:47 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="~x86 ~amd64" +IUSE="+httppower +genders" +DEPEND="sys-devel/bison + httppower? ( net-misc/curl )" +RDEPEND=">=sys-libs/freeipmi-0.2.3" + +src_compile() { + econf \ + $(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 +} |