homebrew-core/Formula/mkvalidator.rb

16 lines
476 B
Ruby
Raw Normal View History

require 'formula'
class Mkvalidator <Formula
2011-03-07 06:05:10 +00:00
url 'http://downloads.sourceforge.net/project/matroska/mkvalidator/mkvalidator-0.3.3.tar.bz2'
homepage 'http://www.matroska.org/downloads/mkvalidator.html'
2011-03-07 06:05:10 +00:00
md5 'f63cac5127e196e94ebdb0fe30ccf352'
def install
2011-03-07 06:05:10 +00:00
ENV.j1 # Otherwise there are races
system "./configure"
system "make -C mkvalidator"
bindir = `corec/tools/coremake/system_output.sh`.chomp
bin.install "release/#{bindir}/mkvalidator"
end
end