summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2012-12-11 15:37:27 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2012-12-11 15:37:27 +0000
commit69873c8ce467d1e0ac3adb499dbfb405406bee2a (patch)
treee4d7dad5f03bbb6a536894e551dd23367d97afa2 /sys-infiniband/infinipath-psm/infinipath-psm-3.0.1.ebuild
parentUse udev.eclass to install nvidia udev rules. (diff)
downloadgentoo-2-69873c8ce467d1e0ac3adb499dbfb405406bee2a.tar.gz
gentoo-2-69873c8ce467d1e0ac3adb499dbfb405406bee2a.tar.bz2
gentoo-2-69873c8ce467d1e0ac3adb499dbfb405406bee2a.zip
Convert every ebuild to udev.eclass syntax.
(Portage version: 2.2.0_alpha147/cvs/Linux x86_64, signed Manifest commit with key 4868F14D)
Diffstat (limited to 'sys-infiniband/infinipath-psm/infinipath-psm-3.0.1.ebuild')
-rw-r--r--sys-infiniband/infinipath-psm/infinipath-psm-3.0.1.ebuild10
1 files changed, 3 insertions, 7 deletions
diff --git a/sys-infiniband/infinipath-psm/infinipath-psm-3.0.1.ebuild b/sys-infiniband/infinipath-psm/infinipath-psm-3.0.1.ebuild
index b713b57883ec..6edb8dfd9c1d 100644
--- a/sys-infiniband/infinipath-psm/infinipath-psm-3.0.1.ebuild
+++ b/sys-infiniband/infinipath-psm/infinipath-psm-3.0.1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-infiniband/infinipath-psm/infinipath-psm-3.0.1.ebuild,v 1.2 2012/10/13 06:48:23 alexxy Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-infiniband/infinipath-psm/infinipath-psm-3.0.1.ebuild,v 1.3 2012/12/11 15:37:27 ssuominen Exp $
EAPI="4"
@@ -11,7 +11,7 @@ OFED_SUFFIX="115.1015_open"
OFED_SNAPSHOT="1"
OFED_SRC_SNAPSHOT="1"
-inherit openib toolchain-funcs
+inherit openib udev
DESCRIPTION="OpenIB userspace driver for the PathScale InfiniBand HCAs"
KEYWORDS="~amd64 ~x86 ~amd64-linux"
@@ -33,9 +33,5 @@ src_prepare() {
src_install() {
emake DESTDIR="${D}" install
dodoc README
- # install udev rules
- local udevdir=/lib/udev
- has_version sys-fs/udev && udevdir="$($(tc-getPKG_CONFIG) --variable=udevdir udev)"
- insinto "${udevdir}"/rules.d
- doins "${FILESDIR}"/42-infinipath-psm.rules
+ udev_dorules "${FILESDIR}"/42-infinipath-psm.rules
}