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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Wed Apr 18 16:45:30 2012 UTC (2 years, 8 months ago) by alexxy
Branch: MAIN
[sys-infiniband/opensm] Version bump to OFED 1.5.4.1

(Portage version: 2.2.0_alpha100/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.9.ebuild,v 1.2 2011/07/02 20:30:15 alexxy Exp $
4
5 EAPI="4"
6
7 OFED_VER="1.5.4.1"
8 OFED_SUFFIX="1"
9
10 inherit openib
11
12 DESCRIPTION="OpenSM - InfiniBand Subnet Manager and Administration for OpenIB"
13 KEYWORDS="~amd64 ~x86 ~amd64-linux"
14 IUSE=""
15
16 DEPEND="
17 sys-infiniband/libibmad:${SLOT}
18 sys-infiniband/libibumad:${SLOT}"
19 RDEPEND="$DEPEND
20 net-misc/iputils"
21 block_other_ofed_versions
22
23 src_configure() {
24 econf \
25 --enable-perf-mgr \
26 --enable-default-event-plugin \
27 --with-osmv="openib"
28 }
29
30 src_install() {
31 default
32 newconfd "${S}/scripts/opensm.sysconfig" opensm
33 newinitd "${FILESDIR}/opensm.init.d" opensm
34 insinto /etc/logrotate.d
35 newins "${S}/scripts/opensm.logrotate" opensm
36 # we dont nee this int script
37 rm "${ED}/etc/init.d/opensmd" || die "Dropping of upstream initscript failed"
38 }
39
40 pkg_postinst() {
41 einfo "To automatically configure the infiniband subnet manager on boot,"
42 einfo "edit /etc/opensm.conf and add opensm to your start-up scripts:"
43 einfo "\`rc-update add opensm default\`"
44 }

  ViewVC Help
Powered by ViewVC 1.1.20