summaryrefslogtreecommitdiff
path: root/homebrew/cminpack
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/cminpack
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/cminpack')
-rw-r--r--homebrew/cminpack/.beer25
-rw-r--r--homebrew/cminpack/.make.sh-auto6
-rw-r--r--homebrew/cminpack/_metadata/description1
-rw-r--r--homebrew/cminpack/_metadata/homepage1
-rw-r--r--homebrew/cminpack/_metadata/name1
-rw-r--r--homebrew/cminpack/_metadata/version1
-rwxr-xr-xhomebrew/cminpack/download.sh1
7 files changed, 36 insertions, 0 deletions
diff --git a/homebrew/cminpack/.beer b/homebrew/cminpack/.beer
new file mode 100644
index 000000000..1fbb9c7c8
--- /dev/null
+++ b/homebrew/cminpack/.beer
@@ -0,0 +1,25 @@
+{
+ "name": "Cminpack",
+ "description": "Solves nonlinear equations and nonlinear least squares problems",
+ "url": "https://github.com/devernay/cminpack/archive/v1.3.6.tar.gz",
+ "mirror": null,
+ "homepage": "http://devernay.free.fr/hacks/cminpack/cminpack.html",
+ "depends": [
+ {
+ "depend": "cmake",
+ "build-depend": true
+ }
+ ],
+ "resource": [],
+ "conflicts": [],
+ "patches": [],
+ "install": [
+ "system \"cmake\", \".\", \"-DBUILD_SHARED_LIBS=ON\", *std_cmake_args",
+ "system \"make\", \"install\"",
+ "man3.install Dir[\"doc/*.3\"]",
+ "doc.install Dir[\"doc/*\"]",
+ "pkgshare.install \"examples\""
+ ],
+ "version": "1.3.6",
+ "file": "cminpack.rb"
+} \ No newline at end of file
diff --git a/homebrew/cminpack/.make.sh-auto b/homebrew/cminpack/.make.sh-auto
new file mode 100644
index 000000000..8eca688fa
--- /dev/null
+++ b/homebrew/cminpack/.make.sh-auto
@@ -0,0 +1,6 @@
+pkg:setup
+cmake . -DBUILD_SHARED_LIBS=ON -DCMAKE_TOOLCHAIN_FILE=${CMAKE_TOOLCHAIN_FILE}
+make DESTDIR=${PKG_DEST} install
+man3.install Dir["doc/*.3"]
+doc.install Dir["doc/*"]
+pkgshare.install "examples"
diff --git a/homebrew/cminpack/_metadata/description b/homebrew/cminpack/_metadata/description
new file mode 100644
index 000000000..0a68727a5
--- /dev/null
+++ b/homebrew/cminpack/_metadata/description
@@ -0,0 +1 @@
+Solves nonlinear equations and nonlinear least squares problems
diff --git a/homebrew/cminpack/_metadata/homepage b/homebrew/cminpack/_metadata/homepage
new file mode 100644
index 000000000..6d6096ab9
--- /dev/null
+++ b/homebrew/cminpack/_metadata/homepage
@@ -0,0 +1 @@
+http://devernay.free.fr/hacks/cminpack/cminpack.html
diff --git a/homebrew/cminpack/_metadata/name b/homebrew/cminpack/_metadata/name
new file mode 100644
index 000000000..85e8ed478
--- /dev/null
+++ b/homebrew/cminpack/_metadata/name
@@ -0,0 +1 @@
+Cminpack
diff --git a/homebrew/cminpack/_metadata/version b/homebrew/cminpack/_metadata/version
new file mode 100644
index 000000000..95b25aee2
--- /dev/null
+++ b/homebrew/cminpack/_metadata/version
@@ -0,0 +1 @@
+1.3.6
diff --git a/homebrew/cminpack/download.sh b/homebrew/cminpack/download.sh
new file mode 100755
index 000000000..4a4854a8a
--- /dev/null
+++ b/homebrew/cminpack/download.sh
@@ -0,0 +1 @@
+wget https://github.com/devernay/cminpack/archive/v1.3.6.tar.gz \ No newline at end of file