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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (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.4: +3 -3 lines
dev-util/pkgconfig -> virtual/pkgconfig

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

1 jdhore 1.5 # Copyright 1999-2012 Gentoo Foundation
2 robbat2 1.1 # Distributed under the terms of the GNU General Public License v2
3 jdhore 1.5 # $Header: /var/cvsroot/gentoo-x86/sys-libs/openipmi/openipmi-1.3.18.ebuild,v 1.4 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 blubb 1.2 KEYWORDS="~amd64 ~x86"
14 robbat2 1.1 IUSE="crypt snmp"
15     S="${WORKDIR}/${MY_P}"
16    
17 patrick 1.4 RDEPEND="sys-libs/gdbm
18 drac 1.3 crypt? ( dev-libs/openssl )
19     snmp? ( net-analyzer/net-snmp )"
20     DEPEND="${RDEPEND}
21 jdhore 1.5 virtual/pkgconfig"
22 robbat2 1.1
23     src_compile() {
24     local myconf=""
25     myconf="${myconf} `use_with snmp ucdsnmp yes`"
26     myconf="${myconf} `use_with crypt openssl yes`"
27     # these binaries are for root!
28     econf ${myconf} --bindir=/usr/sbin || die "econf failed"
29     emake || die "emake failed"
30     }
31    
32     src_install() {
33     make DESTDIR="${D}" install || die
34     dodoc README* FAQ ChangeLog TODO lanserv/README.emulator lanserv/atca.emu
35     }

  ViewVC Help
Powered by ViewVC 1.1.20