diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2012-12-11 15:37:27 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2012-12-11 15:37:27 +0000 |
commit | 69873c8ce467d1e0ac3adb499dbfb405406bee2a (patch) | |
tree | e4d7dad5f03bbb6a536894e551dd23367d97afa2 /sys-infiniband/infinipath-psm | |
parent | Use udev.eclass to install nvidia udev rules. (diff) | |
download | gentoo-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')
4 files changed, 17 insertions, 23 deletions
diff --git a/sys-infiniband/infinipath-psm/ChangeLog b/sys-infiniband/infinipath-psm/ChangeLog index 5ca449497995..3957b5da6764 100644 --- a/sys-infiniband/infinipath-psm/ChangeLog +++ b/sys-infiniband/infinipath-psm/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-infiniband/infinipath-psm # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-infiniband/infinipath-psm/ChangeLog,v 1.7 2012/10/13 06:48:23 alexxy Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-infiniband/infinipath-psm/ChangeLog,v 1.8 2012/12/11 15:37:27 ssuominen Exp $ + + 11 Dec 2012; Samuli Suominen <ssuominen@gentoo.org> + infinipath-psm-2.9.ebuild, infinipath-psm-2.9-r1.ebuild, + infinipath-psm-3.0.1.ebuild: + Convert every ebuild to udev.eclass syntax. 13 Oct 2012; Alexey Shvetsov <alexxy@gentoo.org> infinipath-psm-3.0.1.ebuild: [sys-infiniband] Update OFED diff --git a/sys-infiniband/infinipath-psm/infinipath-psm-2.9-r1.ebuild b/sys-infiniband/infinipath-psm/infinipath-psm-2.9-r1.ebuild index 8b3260d12eb1..c381c1027c04 100644 --- a/sys-infiniband/infinipath-psm/infinipath-psm-2.9-r1.ebuild +++ b/sys-infiniband/infinipath-psm/infinipath-psm-2.9-r1.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-2.9-r1.ebuild,v 1.1 2012/08/11 12:44:55 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-infiniband/infinipath-psm/infinipath-psm-2.9-r1.ebuild,v 1.2 2012/12/11 15:37:27 ssuominen Exp $ EAPI="4" @@ -9,7 +9,7 @@ OFED_SUFFIX="926.1005_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" @@ -31,9 +31,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 } diff --git a/sys-infiniband/infinipath-psm/infinipath-psm-2.9.ebuild b/sys-infiniband/infinipath-psm/infinipath-psm-2.9.ebuild index d2b3bab8272a..33524572c2e4 100644 --- a/sys-infiniband/infinipath-psm/infinipath-psm-2.9.ebuild +++ b/sys-infiniband/infinipath-psm/infinipath-psm-2.9.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-2.9.ebuild,v 1.2 2012/04/18 18:30:20 alexxy Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-infiniband/infinipath-psm/infinipath-psm-2.9.ebuild,v 1.3 2012/12/11 15:37:27 ssuominen Exp $ EAPI="4" @@ -9,7 +9,7 @@ OFED_SUFFIX="926.1005_open" OFED_SNAPSHOT="1" OFED_SRC_SNAPSHOT="1" -inherit openib +inherit openib udev DESCRIPTION="OpenIB userspace driver for the PathScale InfiniBand HCAs" KEYWORDS="~amd64 ~x86 ~amd64-linux" @@ -24,14 +24,11 @@ src_prepare() { sed -e 's:uname -p:uname -m:g' \ -e 's:-Werror::g' \ -i buildflags.mak || die - epatch "${FILESDIR}/${PN}-include.patch" + epatch "${FILESDIR}"/${PN}-include.patch } src_install() { - make DESTDIR="${D}" install || die "install failed" + emake DESTDIR="${D}" install || die dodoc README - # install udev rules - dodir /etc/udev/rules.d - insinto /etc/udev/rules.d - doins "${FILESDIR}/42-infinipath-psm.rules" || die + udev_dorules "${FILESDIR}"/42-infinipath-psm.rules } 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 } |