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
357 B
Ruby
14 lines
357 B
Ruby
require 'formula'
|
|
|
|
class Dirac <Formula
|
|
url 'http://diracvideo.org/download/dirac-research/dirac-1.0.2.tar.gz'
|
|
md5 'a57c2c5e58062d437d9ab13dffb28f0f'
|
|
homepage 'http://diracvideo.org/'
|
|
|
|
def install
|
|
ENV.gcc_4_2
|
|
|
|
system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking"
|
|
system "make install"
|
|
end
|
|
end
|