2009-10-15 08:07:12 +00:00
|
|
|
require 'formula'
|
2009-10-11 17:53:40 +00:00
|
|
|
|
|
|
|
class Glpk <Formula
|
2010-10-13 09:52:02 +00:00
|
|
|
url 'http://ftp.gnu.org/gnu/glpk/glpk-4.44.tar.gz'
|
2009-10-11 17:53:40 +00:00
|
|
|
homepage 'http://www.gnu.org/software/glpk/'
|
2010-10-13 09:52:02 +00:00
|
|
|
md5 'f2ac7013bc0420d730d052e7ba24bdb1'
|
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
|