New formula: mkvalidator v0.3.1

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
Robert Shaw 2010-12-08 19:26:34 -08:00 committed by Mike McQuaid
parent 7e8eb78d4b
commit 0e95407454

14
Formula/mkvalidator.rb Normal file
View file

@ -0,0 +1,14 @@
require 'formula'
class Mkvalidator <Formula
url 'http://downloads.sourceforge.net/project/matroska/mkvalidator/mkvalidator-0.3.1.tar.bz2'
homepage 'http://www.matroska.org/downloads/mkvalidator.html'
md5 'd767ed6fbda281c07f27a190cad1a1c4'
def install
system "./configure"
system "make -C mkvalidator"
bindir = `corec/tools/coremake/system_output.sh`.chomp
bin.install "release/#{bindir}/mkvalidator"
end
end