sys-cluster/gasnet: initial commit
authorChristoph Junghans <ottxor@gentoo.org>
Fri, 2 Sep 2016 22:13:51 +0000 (16:13 -0600)
committerChristoph Junghans <ottxor@gentoo.org>
Fri, 2 Sep 2016 22:27:55 +0000 (16:27 -0600)
Package-Manager: portage-2.2.28

sys-cluster/gasnet/Manifest [new file with mode: 0644]
sys-cluster/gasnet/gasnet-1.26.4.ebuild [new file with mode: 0644]
sys-cluster/gasnet/metadata.xml [new file with mode: 0644]

diff --git a/sys-cluster/gasnet/Manifest b/sys-cluster/gasnet/Manifest
new file mode 100644 (file)
index 0000000..9c9b7f9
--- /dev/null
@@ -0,0 +1 @@
+DIST GASNet-1.26.4.tar.gz 2656498 SHA256 a2c8a9c306ade58f4eba641f1c6e310a31fc722812dde1154fcc01efab4173d3 SHA512 9faa0281177afc67f2bf75e3a487accdf87b67a3da6afabcd625a26a3533033313b545893dead7ac1d176c57fe7547cd077d3bb368bc9e3211ffb0b316f3af0c WHIRLPOOL 5c920e69728343266929a18ff48eb98bd8dc35803507d205ef479e545a3eae885367a01e403eebf3518b65eaffe59ae8a797643a8e16326a3c610f4f11cd71e6
diff --git a/sys-cluster/gasnet/gasnet-1.26.4.ebuild b/sys-cluster/gasnet/gasnet-1.26.4.ebuild
new file mode 100644 (file)
index 0000000..168cd0f
--- /dev/null
@@ -0,0 +1,34 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit autotools
+
+MY_P="${PN^^[gasn]}-${PV}"
+DESCRIPTION="Networking middleware for partitioned global address space (PGAS) language"
+HOMEPAGE="http://gasnet.lbl.gov/"
+SRC_URI="http://gasnet.lbl.gov/${MY_P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="mpi threads"
+
+DEPEND="mpi? ( virtual/mpi )"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${MY_P}"
+
+src_prepare() {
+       find . \
+               \( -name Makefile.am -or -name "*.mak" \) \
+               -exec sed -i '/^docdir/s/^/#/' {} + || die
+       default
+       eautoreconf
+}
+
+src_configure() {
+       econf $(use_enable mpi) $(use_enable threads pthreads)
+}
diff --git a/sys-cluster/gasnet/metadata.xml b/sys-cluster/gasnet/metadata.xml
new file mode 100644 (file)
index 0000000..a5ee3aa
--- /dev/null
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+  <maintainer type="person">
+    <email>ottxor@gentoo.org</email>
+    <name>Christoph Junghans</name>
+  </maintainer>
+  <maintainer type="project">
+    <email>cluster@gentoo.org</email>
+    <name>Gentoo Cluster Project</name>
+  </maintainer>
+</pkgmetadata>