summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Shvetsov <alexxy@gentoo.org>2012-04-29 13:00:11 +0000
committerAlexey Shvetsov <alexxy@gentoo.org>2012-04-29 13:00:11 +0000
commit1adf7a04c1a30cb796be792a68303e25f6d790c2 (patch)
treeb22b25d3ffcff5232fca2afa54e0cb8f6b5aa72e /sys-cluster
parentFix typo, bug #258111#c2. (diff)
downloadgentoo-2-1adf7a04c1a30cb796be792a68303e25f6d790c2.tar.gz
gentoo-2-1adf7a04c1a30cb796be792a68303e25f6d790c2.tar.bz2
gentoo-2-1adf7a04c1a30cb796be792a68303e25f6d790c2.zip
[sys-cluster/knem] Version bump
(Portage version: 2.2.0_alpha100/cvs/Linux x86_64)
Diffstat (limited to 'sys-cluster')
-rw-r--r--sys-cluster/knem/ChangeLog7
-rw-r--r--sys-cluster/knem/knem-0.9.8.ebuild69
2 files changed, 75 insertions, 1 deletions
diff --git a/sys-cluster/knem/ChangeLog b/sys-cluster/knem/ChangeLog
index 7980625005e9..2f87cc0e9446 100644
--- a/sys-cluster/knem/ChangeLog
+++ b/sys-cluster/knem/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-cluster/knem
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-cluster/knem/ChangeLog,v 1.3 2012/04/29 12:50:29 alexxy Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/knem/ChangeLog,v 1.4 2012/04/29 13:00:11 alexxy Exp $
+
+*knem-0.9.8 (29 Apr 2012)
+
+ 29 Apr 2012; Alexey Shvetsov <alexxy@gentoo.org> +knem-0.9.8.ebuild:
+ [sys-cluster/knem] Version bump
29 Apr 2012; Alexey Shvetsov <alexxy@gentoo.org> files/45-knem.rules:
[sys-cluster/knem] Fix udev rules bug #410019
diff --git a/sys-cluster/knem/knem-0.9.8.ebuild b/sys-cluster/knem/knem-0.9.8.ebuild
new file mode 100644
index 000000000000..0b2544d7bbde
--- /dev/null
+++ b/sys-cluster/knem/knem-0.9.8.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/knem/knem-0.9.8.ebuild,v 1.1 2012/04/29 13:00:11 alexxy Exp $
+
+EAPI=4
+
+inherit autotools linux-mod multilib
+
+DESCRIPTION="High-Performance Intra-Node MPI Communication"
+HOMEPAGE="http://runtime.bordeaux.inria.fr/knem/"
+SRC_URI="http://runtime.bordeaux.inria.fr/knem/download/${P}.tar.gz"
+
+LICENSE="GPL-2 LGPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="debug modules"
+
+DEPEND="
+ sys-apps/hwloc
+ virtual/linux-sources"
+RDEPEND="
+ sys-apps/hwloc
+ virtual/modutils"
+
+MODULE_NAMES="knem(misc:${S}/driver/linux)"
+BUILD_TARGETS="all"
+BUILD_PARAMS="KDIR=${KERNEL_DIR}"
+
+pkg_setup() {
+ linux-mod_pkg_setup
+}
+
+src_prepare() {
+ sed 's:driver/linux::g' -i Makefile.am
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ --enable-hwloc \
+ --with-linux="${KERNEL_DIR}" \
+ --with-linux-release=${KV_FULL} \
+ $(use_enable debug)
+}
+
+src_compile() {
+ default
+ if use modules; then
+ cd "${S}/driver/linux"
+ linux-mod_src_compile || die "failed to build driver"
+ fi
+}
+
+src_install() {
+ default
+ if use modules; then
+ cd "${S}/driver/linux"
+ linux-mod_src_install || die "failed to install driver"
+ fi
+
+ # Drop funny unneded stuff
+ rm "${ED}/usr/sbin/knem_local_install" || die
+ rmdir "${ED}/usr/sbin" || die
+ # install udev rules
+ dodir /etc/udev/rules.d
+ insinto /etc/udev/rules.d
+ doins "${FILESDIR}/45-knem.rules" || die
+ rm "${ED}/etc/10-knem.rules" || die
+}