/[gentoo-x86]/sys-libs/openipmi/openipmi-1.4.14.ebuild
Gentoo

Contents of /sys-libs/openipmi/openipmi-1.4.14.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (hide annotations) (download)
Fri May 4 07:33:12 2012 UTC (7 years, 9 months ago) by jdhore
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +3 -3 lines
dev-util/pkgconfig -> virtual/pkgconfig

(Portage version: 2.2.0_alpha101/cvs/Linux i686)

1 jdhore 1.4 # Copyright 1999-2012 Gentoo Foundation
2 robbat2 1.1 # Distributed under the terms of the GNU General Public License v2
3 jdhore 1.4 # $Header: /var/cvsroot/gentoo-x86/sys-libs/openipmi/openipmi-1.4.14.ebuild,v 1.3 2009/09/23 21:18:21 patrick Exp $
4 robbat2 1.1
5     DESCRIPTION="Library interface to IPMI"
6     HOMEPAGE="http://sourceforge.net/projects/${PN}/"
7     MY_PN="OpenIPMI"
8     MY_P="${MY_PN}-${PV}"
9     SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
10    
11     LICENSE="LGPL-2.1 GPL-2"
12     SLOT="0"
13     KEYWORDS="~x86"
14     IUSE="crypt snmp perl"
15     S="${WORKDIR}/${MY_P}"
16    
17 patrick 1.3 RDEPEND="dev-libs/glib
18 drac 1.2 sys-libs/gdbm
19     crypt? ( dev-libs/openssl )
20     snmp? ( net-analyzer/net-snmp )
21     perl? ( dev-lang/perl )"
22     DEPEND="${RDEPEND}
23 jdhore 1.4 virtual/pkgconfig
24 drac 1.2 >=dev-lang/swig-1.3.21"
25 robbat2 1.1
26     src_compile() {
27     local myconf=""
28     myconf="${myconf} `use_with snmp ucdsnmp yes`"
29     myconf="${myconf} `use_with crypt openssl yes`"
30     myconf="${myconf} `use_with perl perl yes`"
31     myconf="${myconf} --with-swig=yes --with-glib=yes"
32     # these binaries are for root!
33     econf ${myconf} --bindir=/usr/sbin || die "econf failed"
34     emake || die "emake failed"
35     }
36    
37     src_install() {
38     make DESTDIR="${D}" install || die
39     dodoc README* FAQ ChangeLog TODO doc/IPMI.pdf lanserv/README.emulator
40     newdoc cmdlang/README README.cmdlang
41     }

  ViewVC Help
Powered by ViewVC 1.1.20