2009-10-15 08:07:12 +00:00
|
|
|
require 'formula'
|
2009-10-11 17:53:40 +00:00
|
|
|
|
|
|
|
class Glpk <Formula
|
2010-01-20 17:54:17 +00:00
|
|
|
url 'http://ftp.gnu.org/gnu/glpk/glpk-4.42.tar.gz'
|
2009-10-11 17:53:40 +00:00
|
|
|
homepage 'http://www.gnu.org/software/glpk/'
|
2010-01-20 17:54:17 +00:00
|
|
|
md5 '9091a60c4c44a16a149375f7a6cce158'
|
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
|