aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorBjörn B. Brandenburg2009-10-11 13:53:40 -0400
committerMax Howell2009-10-12 17:26:27 +0100
commitcecaf35fbf3c2bbb263768ba97ada13524088653 (patch)
tree3c9df59743714170c288657d7e1870c41eed5476 /Library/Formula
parent286997a37568653662adf9ae900fe2669d1120b9 (diff)
downloadhomebrew-cecaf35fbf3c2bbb263768ba97ada13524088653.tar.bz2
Add formula for GNU Linear Programming Kit
Provides a library and stand-alone tool for solving linear programs (LPs) and integer linear programs (ILPs). Doesn't depend on anything else.
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/glpk.rb12
1 files changed, 12 insertions, 0 deletions
diff --git a/Library/Formula/glpk.rb b/Library/Formula/glpk.rb
new file mode 100644
index 000000000..f73b42a82
--- /dev/null
+++ b/Library/Formula/glpk.rb
@@ -0,0 +1,12 @@
+require 'brewkit'
+
+class Glpk <Formula
+ url 'http://ftp.gnu.org/gnu/glpk/glpk-4.39.tar.gz'
+ homepage 'http://www.gnu.org/software/glpk/'
+ md5 '95f276ef6c94c6de1eb689f161f525f3'
+
+ def install
+ system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking"
+ system "make install"
+ end
+end