61b2307139
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.
14 lines
337 B
Ruby
14 lines
337 B
Ruby
require 'formula'
|
|
|
|
class Ragel <Formula
|
|
url 'http://www.complang.org/ragel/ragel-6.5.tar.gz'
|
|
homepage 'http://www.complang.org/ragel/'
|
|
md5 'bb152087079ad7a545dcdc955b752301'
|
|
|
|
def install
|
|
system "./configure",
|
|
"--prefix=#{prefix}",
|
|
"--disable-dependency-tracking"
|
|
system "make install"
|
|
end
|
|
end
|