2009-10-15 08:07:12 +00:00
|
|
|
require 'formula'
|
2009-10-11 17:53:40 +00:00
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Glpk < Formula
|
2011-09-12 16:31:30 +00:00
|
|
|
url 'http://ftpmirror.gnu.org/glpk/glpk-4.47.tar.gz'
|
2011-11-30 18:56:07 +00:00
|
|
|
mirror 'http://ftp.gnu.org/gnu/glpk/glpk-4.47.tar.gz'
|
2009-10-11 17:53:40 +00:00
|
|
|
homepage 'http://www.gnu.org/software/glpk/'
|
2012-09-03 18:33:56 +00:00
|
|
|
sha1 '35e16d3167389b6bc75eb51b4b48590db59f789c'
|
2009-10-11 17:53:40 +00:00
|
|
|
|
|
|
|
def install
|
2010-07-25 19:15:42 +00:00
|
|
|
system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}"
|
2009-10-11 17:53:40 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|