2009-10-15 08:07:12 +00:00
|
|
|
require 'formula'
|
2009-10-07 10:24:34 +00:00
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Dirac < Formula
|
2009-10-07 10:24:34 +00:00
|
|
|
url 'http://diracvideo.org/download/dirac-research/dirac-1.0.2.tar.gz'
|
|
|
|
md5 'a57c2c5e58062d437d9ab13dffb28f0f'
|
|
|
|
homepage 'http://diracvideo.org/'
|
|
|
|
|
2012-03-18 20:33:24 +00:00
|
|
|
fails_with :llvm do
|
|
|
|
build 2334
|
|
|
|
end
|
2011-03-21 21:24:22 +00:00
|
|
|
|
2009-10-07 10:24:34 +00:00
|
|
|
def install
|
2012-01-24 04:22:27 +00:00
|
|
|
# BSD cp doesn't have '-d'
|
|
|
|
inreplace 'doc/Makefile.in', 'cp -dR', 'cp -R'
|
|
|
|
|
2009-10-07 10:24:34 +00:00
|
|
|
system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking"
|
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|