mirror of
https://github.com/mistydemeo/tigerbrew.git
synced 2026-11-27 19:39:48 -05:00
brewkit.rb changes ENV destructively, so lets not do that everytime a formula is required. Now it's possible for other tools to require a formula description without worrying about side-effects.
13 lines
330 B
Ruby
13 lines
330 B
Ruby
require 'formula'
|
|
|
|
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
|