homebrew-core/Formula/libmatroska.rb
2010-06-09 14:59:09 -07:00

16 lines
537 B
Ruby

require 'formula'
class Libmatroska <Formula
# This is the official source, but it's frequently down. Use the mktoolnix mirror instead.
# url 'http://dl.matroska.org/downloads/libmatroska/libmatroska-1.0.0.tar.bz2'
url 'http://www.bunkus.org/videotools/mkvtoolnix/sources/libmatroska-1.0.0.tar.bz2'
homepage 'http://www.matroska.org/'
md5 '4efcf3945b17a6f0320cf1aaa326a4de'
depends_on 'libebml'
def install
system 'cp -r make/linux make/darwin'
system "cd make/darwin && make install prefix=#{prefix}"
end
end