summaryrefslogtreecommitdiff
path: root/homebrew/opencoarrays
diff options
context:
space:
mode:
authorMCApollo <34170230+MCApollo@users.noreply.github.com>2019-04-20 20:49:46 -0500
committerMCApollo <34170230+MCApollo@users.noreply.github.com>2019-04-23 20:18:47 -0500
commit12335518ab39608d58370c85ff9f5384ad2aa5f7 (patch)
tree352d81f2a2de3f1252af732080ec0fde38c13b4d /homebrew/opencoarrays
parenta2b26ad12d4fa12f0273645caf4be6d0b8b71e7c (diff)
Ported in the homebrew-marauder for a hacky update/import system.
TODO: Maybe add a license & fix up messy code.
Diffstat (limited to 'homebrew/opencoarrays')
-rw-r--r--homebrew/opencoarrays/.beer32
-rw-r--r--homebrew/opencoarrays/.make.sh-auto5
-rw-r--r--homebrew/opencoarrays/_metadata/description1
-rw-r--r--homebrew/opencoarrays/_metadata/homepage1
-rw-r--r--homebrew/opencoarrays/_metadata/name1
-rw-r--r--homebrew/opencoarrays/_metadata/version1
-rwxr-xr-xhomebrew/opencoarrays/download.sh1
7 files changed, 42 insertions, 0 deletions
diff --git a/homebrew/opencoarrays/.beer b/homebrew/opencoarrays/.beer
new file mode 100644
index 000000000..ce62c658d
--- /dev/null
+++ b/homebrew/opencoarrays/.beer
@@ -0,0 +1,32 @@
+{
+ "name": "Opencoarrays",
+ "description": "Open-source coarray Fortran ABI, API, and compiler wrapper",
+ "url": "https://github.com/sourceryinstitute/OpenCoarrays/releases/download/2.6.1/OpenCoarrays-2.6.1.tar.gz",
+ "mirror": null,
+ "homepage": "http://opencoarrays.org",
+ "depends": [
+ {
+ "depend": "cmake",
+ "build-depend": true
+ },
+ {
+ "depend": "gcc",
+ "build-depend": false
+ },
+ {
+ "depend": "open-mpi",
+ "build-depend": false
+ }
+ ],
+ "resource": [],
+ "conflicts": [],
+ "patches": [],
+ "install": [
+ "mkdir \"build\" do",
+ "system \"cmake\", \"..\", *std_cmake_args",
+ "system \"make\"",
+ "system \"make\", \"install\""
+ ],
+ "version": "2.6.1",
+ "file": "opencoarrays.rb"
+} \ No newline at end of file
diff --git a/homebrew/opencoarrays/.make.sh-auto b/homebrew/opencoarrays/.make.sh-auto
new file mode 100644
index 000000000..1cb00fcc4
--- /dev/null
+++ b/homebrew/opencoarrays/.make.sh-auto
@@ -0,0 +1,5 @@
+pkg:setup
+mkdir "build" && cd build
+cmake .. -DCMAKE_TOOLCHAIN_FILE=${CMAKE_TOOLCHAIN_FILE}
+make
+make DESTDIR=${PKG_DEST} install
diff --git a/homebrew/opencoarrays/_metadata/description b/homebrew/opencoarrays/_metadata/description
new file mode 100644
index 000000000..891a19d3f
--- /dev/null
+++ b/homebrew/opencoarrays/_metadata/description
@@ -0,0 +1 @@
+Open-source coarray Fortran ABI, API, and compiler wrapper
diff --git a/homebrew/opencoarrays/_metadata/homepage b/homebrew/opencoarrays/_metadata/homepage
new file mode 100644
index 000000000..3ba34af00
--- /dev/null
+++ b/homebrew/opencoarrays/_metadata/homepage
@@ -0,0 +1 @@
+http://opencoarrays.org
diff --git a/homebrew/opencoarrays/_metadata/name b/homebrew/opencoarrays/_metadata/name
new file mode 100644
index 000000000..05041d9de
--- /dev/null
+++ b/homebrew/opencoarrays/_metadata/name
@@ -0,0 +1 @@
+Opencoarrays
diff --git a/homebrew/opencoarrays/_metadata/version b/homebrew/opencoarrays/_metadata/version
new file mode 100644
index 000000000..6a6a3d8e3
--- /dev/null
+++ b/homebrew/opencoarrays/_metadata/version
@@ -0,0 +1 @@
+2.6.1
diff --git a/homebrew/opencoarrays/download.sh b/homebrew/opencoarrays/download.sh
new file mode 100755
index 000000000..526fa7393
--- /dev/null
+++ b/homebrew/opencoarrays/download.sh
@@ -0,0 +1 @@
+wget https://github.com/sourceryinstitute/OpenCoarrays/releases/download/2.6.1/OpenCoarrays-2.6.1.tar.gz \ No newline at end of file