/[gentoo-x86]/sys-infiniband/opensm/opensm-3.3.15.ebuild
Gentoo

Contents of /sys-infiniband/opensm/opensm-3.3.15.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Sat Oct 13 06:48:23 2012 UTC (2 years ago) by alexxy
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +4 -2 lines
[sys-infiniband] Update OFED

(Portage version: 2.2.0_alpha137/cvs/Linux x86_64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/sys-infiniband/opensm/opensm-3.3.15.ebuild,v 1.1 2012/10/12 13:19:36 alexxy Exp $
4
5 EAPI="4"
6
7 OFED_VER="3.5"
8 OFED_RC="1"
9 OFED_RC_VER="2"
10 OFED_SUFFIX="1"
11
12 inherit openib
13
14 DESCRIPTION="OpenSM - InfiniBand Subnet Manager and Administration for OpenIB"
15 KEYWORDS="~amd64 ~x86 ~amd64-linux"
16 IUSE=""
17
18 DEPEND="
19 sys-infiniband/libibmad:${SLOT}
20 sys-infiniband/libibumad:${SLOT}"
21 RDEPEND="$DEPEND
22 net-misc/iputils"
23 block_other_ofed_versions
24
25 src_configure() {
26 econf \
27 --enable-perf-mgr \
28 --enable-default-event-plugin \
29 --with-osmv="openib"
30 }
31
32 src_install() {
33 default
34 newconfd "${S}/scripts/opensm.sysconfig" opensm
35 newinitd "${FILESDIR}/opensm.init.d" opensm
36 insinto /etc/logrotate.d
37 newins "${S}/scripts/opensm.logrotate" opensm
38 # we dont nee this int script
39 rm "${ED}/etc/init.d/opensmd" || die "Dropping of upstream initscript failed"
40 }
41
42 pkg_postinst() {
43 einfo "To automatically configure the infiniband subnet manager on boot,"
44 einfo "edit /etc/opensm.conf and add opensm to your start-up scripts:"
45 einfo "\`rc-update add opensm default\`"
46 }

  ViewVC Help
Powered by ViewVC 1.1.20