From 2805d680ec139c82b8c62de6062f51a34d8e8918 Mon Sep 17 00:00:00 2001 From: "Robin H. Johnson" Date: Tue, 1 Mar 2005 07:13:43 +0000 Subject: Initial commit, ebuilds by myself. (Portage version: 2.0.51.16) --- sys-libs/openipmi/openipmi-1.4.12.ebuild | 39 ++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 sys-libs/openipmi/openipmi-1.4.12.ebuild (limited to 'sys-libs/openipmi/openipmi-1.4.12.ebuild') diff --git a/sys-libs/openipmi/openipmi-1.4.12.ebuild b/sys-libs/openipmi/openipmi-1.4.12.ebuild new file mode 100644 index 000000000000..20093857df5a --- /dev/null +++ b/sys-libs/openipmi/openipmi-1.4.12.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-libs/openipmi/openipmi-1.4.12.ebuild,v 1.1 2005/03/01 07:13:43 robbat2 Exp $ + +DESCRIPTION="Library interface to IPMI" +HOMEPAGE="http://sourceforge.net/projects/${PN}/" +MY_PN="OpenIPMI" +MY_P="${MY_PN}-${PV}" +SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz" + +LICENSE="LGPL-2.1 GPL-2" +SLOT="0" +KEYWORDS="~x86" +IUSE="crypt snmp perl" +S="${WORKDIR}/${MY_P}" + +DEPEND="virtual/libc + dev-libs/glib + >=dev-lang/swig-1.3.21 + crypt? ( dev-libs/openssl ) + snmp? ( net-analyzer/net-snmp ) + perl? ( dev-lang/perl )" + +src_compile() { + local myconf="" + myconf="${myconf} `use_with snmp ucdsnmp yes`" + myconf="${myconf} `use_with crypt openssl yes`" + myconf="${myconf} `use_with perl perl yes`" + myconf="${myconf} --with-swig=yes --with-glib=yes" + # these binaries are for root! + econf ${myconf} --bindir=/usr/sbin || die "econf failed" + emake || die "emake failed" +} + +src_install() { + make DESTDIR="${D}" install || die + dodoc README* FAQ ChangeLog TODO doc/IPMI.pdf lanserv/README.emulator + newdoc cmdlang/README README.cmdlang +} -- cgit v1.2.3-65-gdbad