/[gentoo-x86]/sys-libs/openhpi/openhpi-2.12.0.ebuild
Gentoo

Contents of /sys-libs/openhpi/openhpi-2.12.0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Wed Mar 12 03:11:05 2014 UTC (5 years, 7 months ago) by patrick
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +3 -3 lines
Shorten description for improved repoman happy

(Portage version: 2.2.8-r1/cvs/Linux x86_64, unsigned Manifest commit)

1 # Copyright 1999-2014 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/sys-libs/openhpi/openhpi-2.12.0.ebuild,v 1.2 2009/08/10 12:10:11 ssuominen Exp $
4
5 inherit eutils
6
7 DESCRIPTION="Open source implementation of the Service Availability Forum (SAF) Hardware Platform Interface (HPI)"
8 HOMEPAGE="http://www.openhpi.org/"
9 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
10
11 LICENSE="BSD"
12 SLOT="0"
13 KEYWORDS="~x86 ~amd64"
14 IUSE="snmp"
15
16 COMMONDEPEND=">=dev-libs/glib-2.2
17 sys-fs/e2fsprogs
18 sys-fs/sysfsutils
19 >=sys-libs/openipmi-1.4.20
20 snmp? ( >=net-analyzer/net-snmp-5.07 )"
21 RDEPEND="${COMMONDEPEND}"
22 DEPEND="${COMMONDEPEND}
23 >=sys-devel/autoconf-2.57
24 >=sys-devel/automake-1.8
25 >=sys-devel/gcc-3.2.0
26 virtual/os-headers"
27
28 src_unpack() {
29 unpack ${A}
30 sed -i -e 's:-Werror::g' "${S}"/configure || die "sed failed"
31 }
32
33 src_compile() {
34 econf --with-varpath=/var/lib/openhpi \
35 --enable-clients \
36 --enable-cpp_wrappers \
37 --enable-daemon \
38 --enable-ipmi \
39 --enable-ipmidirect \
40 --enable-sysfs \
41 --enable-thread \
42 --enable-watchdog \
43 --enable-simulator \
44 --disable-testcover \
45 $(use_enable snmp snmp_bc) \
46 || die "econf failed"
47
48 emake || die "emake failed"
49 }
50
51 src_install() {
52 # Stage main files.
53 emake DESTDIR="${D}" install || die "emake install failed"
54
55 # Stage conf.d-file and init.d-script.
56 newinitd "${FILESDIR}"/openhpi-initd openhpid
57 newconfd "${FILESDIR}"/openhpi-confd openhpid
58
59 # Stage documentation.
60 dodoc README
61
62 # Make sure the data dir exists or openhpid will fail silently.
63 keepdir /var/lib/openhpi/
64 }

  ViewVC Help
Powered by ViewVC 1.1.20