summaryrefslogtreecommitdiff
path: root/homebrew/glpk
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/glpk
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/glpk')
-rw-r--r--homebrew/glpk/.beer24
-rw-r--r--homebrew/glpk/.make.sh-auto3
-rw-r--r--homebrew/glpk/_metadata/description1
-rw-r--r--homebrew/glpk/_metadata/homepage1
-rw-r--r--homebrew/glpk/_metadata/name1
-rw-r--r--homebrew/glpk/_metadata/version1
-rwxr-xr-xhomebrew/glpk/download.sh1
7 files changed, 32 insertions, 0 deletions
diff --git a/homebrew/glpk/.beer b/homebrew/glpk/.beer
new file mode 100644
index 000000000..9875f9dcb
--- /dev/null
+++ b/homebrew/glpk/.beer
@@ -0,0 +1,24 @@
+{
+ "name": "Glpk",
+ "description": "Library for Linear and Mixed-Integer Programming",
+ "url": "https://ftp.gnu.org/gnu/glpk/glpk-4.65.tar.gz",
+ "mirror": "https://ftpmirror.gnu.org/glpk/glpk-4.65.tar.gz",
+ "homepage": "https://www.gnu.org/software/glpk/",
+ "depends": [
+ {
+ "depend": "gmp",
+ "build-depend": false
+ }
+ ],
+ "resource": [],
+ "conflicts": [],
+ "patches": [],
+ "install": [
+ "system \"./configure\", \"--prefix=#{prefix}\",",
+ "\"--disable-dependency-tracking\",",
+ "\"--with-gmp\"",
+ "system \"make\", \"install\""
+ ],
+ "version": "4.65",
+ "file": "glpk.rb"
+} \ No newline at end of file
diff --git a/homebrew/glpk/.make.sh-auto b/homebrew/glpk/.make.sh-auto
new file mode 100644
index 000000000..fa55c4985
--- /dev/null
+++ b/homebrew/glpk/.make.sh-auto
@@ -0,0 +1,3 @@
+pkg:setup
+pkg:configure --disable-dependency-tracking --with-gmp
+make DESTDIR=${PKG_DEST} install
diff --git a/homebrew/glpk/_metadata/description b/homebrew/glpk/_metadata/description
new file mode 100644
index 000000000..bde8f1f8d
--- /dev/null
+++ b/homebrew/glpk/_metadata/description
@@ -0,0 +1 @@
+Library for Linear and Mixed-Integer Programming
diff --git a/homebrew/glpk/_metadata/homepage b/homebrew/glpk/_metadata/homepage
new file mode 100644
index 000000000..89ae9528a
--- /dev/null
+++ b/homebrew/glpk/_metadata/homepage
@@ -0,0 +1 @@
+https://www.gnu.org/software/glpk/
diff --git a/homebrew/glpk/_metadata/name b/homebrew/glpk/_metadata/name
new file mode 100644
index 000000000..1af3715c2
--- /dev/null
+++ b/homebrew/glpk/_metadata/name
@@ -0,0 +1 @@
+Glpk
diff --git a/homebrew/glpk/_metadata/version b/homebrew/glpk/_metadata/version
new file mode 100644
index 000000000..938d2f174
--- /dev/null
+++ b/homebrew/glpk/_metadata/version
@@ -0,0 +1 @@
+4.65
diff --git a/homebrew/glpk/download.sh b/homebrew/glpk/download.sh
new file mode 100755
index 000000000..dd24c5847
--- /dev/null
+++ b/homebrew/glpk/download.sh
@@ -0,0 +1 @@
+wget https://ftp.gnu.org/gnu/glpk/glpk-4.65.tar.gz || wget https://ftpmirror.gnu.org/glpk/glpk-4.65.tar.gz \ No newline at end of file