summaryrefslogtreecommitdiff
path: root/homebrew/qrupdate
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/qrupdate
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/qrupdate')
-rw-r--r--homebrew/qrupdate/.beer32
-rw-r--r--homebrew/qrupdate/.make.sh-auto8
-rw-r--r--homebrew/qrupdate/_metadata/description1
-rw-r--r--homebrew/qrupdate/_metadata/homepage1
-rw-r--r--homebrew/qrupdate/_metadata/name1
-rw-r--r--homebrew/qrupdate/_metadata/version1
-rwxr-xr-xhomebrew/qrupdate/download.sh1
7 files changed, 45 insertions, 0 deletions
diff --git a/homebrew/qrupdate/.beer b/homebrew/qrupdate/.beer
new file mode 100644
index 000000000..fde4482d3
--- /dev/null
+++ b/homebrew/qrupdate/.beer
@@ -0,0 +1,32 @@
+{
+ "name": "Qrupdate",
+ "description": "Fast updates of QR and Cholesky decompositions",
+ "url": "https://downloads.sourceforge.net/qrupdate/qrupdate-1.1.2.tar.gz",
+ "mirror": null,
+ "homepage": "https://sourceforge.net/projects/qrupdate/",
+ "depends": [
+ {
+ "depend": "gcc",
+ "build-depend": false
+ },
+ {
+ "depend": "veclibfort",
+ "build-depend": false
+ }
+ ],
+ "resource": [],
+ "conflicts": [],
+ "patches": [],
+ "install": [
+ "ENV.deparallelize",
+ "system \"make\", \"lib\", \"solib\",",
+ "\"BLAS=-L#{Formula[\"veclibfort\"].opt_lib} -lvecLibFort\"",
+ "rm \"INSTALL\"",
+ "inreplace \"src/Makefile\", \"install -D\", \"install\"",
+ "lib.mkpath",
+ "system \"make\", \"install\", \"PREFIX=#{prefix}\"",
+ "pkgshare.install \"test/tch1dn.f\", \"test/utils.f\""
+ ],
+ "version": "1.1.2",
+ "file": "qrupdate.rb"
+} \ No newline at end of file
diff --git a/homebrew/qrupdate/.make.sh-auto b/homebrew/qrupdate/.make.sh-auto
new file mode 100644
index 000000000..2599c34f0
--- /dev/null
+++ b/homebrew/qrupdate/.make.sh-auto
@@ -0,0 +1,8 @@
+pkg:setup
+ENV.deparallelize
+make lib solib BLAS=-L#{Formula[veclibfort"].opt_lib} -lvecLibFort"
+rm "INSTALL"
+inreplace "src/Makefile", "install -D", "install"
+lib.mkpath
+make DESTDIR=${PKG_DEST} install PREFIX=${PKG_TAPF}
+pkgshare.install "test/tch1dn.f", "test/utils.f"
diff --git a/homebrew/qrupdate/_metadata/description b/homebrew/qrupdate/_metadata/description
new file mode 100644
index 000000000..f56264ba5
--- /dev/null
+++ b/homebrew/qrupdate/_metadata/description
@@ -0,0 +1 @@
+Fast updates of QR and Cholesky decompositions
diff --git a/homebrew/qrupdate/_metadata/homepage b/homebrew/qrupdate/_metadata/homepage
new file mode 100644
index 000000000..307fcecf9
--- /dev/null
+++ b/homebrew/qrupdate/_metadata/homepage
@@ -0,0 +1 @@
+https://sourceforge.net/projects/qrupdate/
diff --git a/homebrew/qrupdate/_metadata/name b/homebrew/qrupdate/_metadata/name
new file mode 100644
index 000000000..bb7f89066
--- /dev/null
+++ b/homebrew/qrupdate/_metadata/name
@@ -0,0 +1 @@
+Qrupdate
diff --git a/homebrew/qrupdate/_metadata/version b/homebrew/qrupdate/_metadata/version
new file mode 100644
index 000000000..45a1b3f44
--- /dev/null
+++ b/homebrew/qrupdate/_metadata/version
@@ -0,0 +1 @@
+1.1.2
diff --git a/homebrew/qrupdate/download.sh b/homebrew/qrupdate/download.sh
new file mode 100755
index 000000000..01e105bab
--- /dev/null
+++ b/homebrew/qrupdate/download.sh
@@ -0,0 +1 @@
+wget https://downloads.sourceforge.net/qrupdate/qrupdate-1.1.2.tar.gz \ No newline at end of file