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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Wed Jul 22 11:54:24 2015 UTC (4 years, 2 months ago) by mrueg
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
Remove old.

(Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key )

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.10.1.ebuild,v 1.2 2014/03/12 03:11:06 patrick 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_compile() {
29 econf --with-varpath=/var/lib/openhpi \
30 --enable-clients \
31 --enable-cpp_wrappers \
32 --enable-daemon \
33 --enable-ipmi \
34 --enable-ipmidirect \
35 --enable-sysfs \
36 --enable-thread \
37 --enable-watchdog \
38 --enable-simulator \
39 --disable-testcover \
40 $(use_enable snmp snmp_bc) \
41 || die "econf failed"
42
43 emake || die "emake failed"
44 }
45
46 src_install() {
47 # Stage main files.
48 emake DESTDIR="${D}" install || die "emake install failed"
49
50 # Stage conf.d-file and init.d-script.
51 newinitd "${FILESDIR}"/openhpi-initd openhpid
52 newconfd "${FILESDIR}"/openhpi-confd openhpid
53
54 # Stage documentation.
55 dodoc README
56
57 # Make sure the data dir exists or openhpid will fail silently.
58 keepdir /var/lib/openhpi/
59 }

  ViewVC Help
Powered by ViewVC 1.1.20