homebrew-core/Formula/dirac.rb
Jack Nagel 713b076cdc dirac: fix bad cp invocation
This Makefile target is only triggered if the tools required to build
the documentation are present, which I'm guessing is why this has gone
unnoticed.

Will send upstream.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-01-23 22:26:41 -06:00

17 lines
458 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/'
fails_with_llvm :build => 2334
def install
# BSD cp doesn't have '-d'
inreplace 'doc/Makefile.in', 'cp -dR', 'cp -R'
system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking"
system "make install"
end
end