diff options
author | 2005-03-01 07:13:43 +0000 | |
---|---|---|
committer | 2005-03-01 07:13:43 +0000 | |
commit | 2805d680ec139c82b8c62de6062f51a34d8e8918 (patch) | |
tree | e24ad43366833fdc24eebb1e7e80ffb19a2ecad2 /sys-libs/openipmi/openipmi-1.4.12.ebuild | |
parent | Fix bug 83612. (diff) | |
download | gentoo-2-2805d680ec139c82b8c62de6062f51a34d8e8918.tar.gz gentoo-2-2805d680ec139c82b8c62de6062f51a34d8e8918.tar.bz2 gentoo-2-2805d680ec139c82b8c62de6062f51a34d8e8918.zip |
Initial commit, ebuilds by myself.
(Portage version: 2.0.51.16)
Diffstat (limited to 'sys-libs/openipmi/openipmi-1.4.12.ebuild')
-rw-r--r-- | sys-libs/openipmi/openipmi-1.4.12.ebuild | 39 |
1 files changed, 39 insertions, 0 deletions
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 +} |