2010-01-04 06:20:57 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Libmatroska < Formula
|
2010-01-04 06:20:57 +00:00
|
|
|
# This is the official source, but it's frequently down. Use the mktoolnix mirror instead.
|
2011-06-28 18:46:23 +00:00
|
|
|
# url 'http://dl.matroska.org/downloads/libmatroska/libmatroska-1.2.0.tar.bz2'
|
|
|
|
url 'http://www.bunkus.org/videotools/mkvtoolnix/sources/libmatroska-1.2.0.tar.bz2'
|
2010-01-04 06:20:57 +00:00
|
|
|
homepage 'http://www.matroska.org/'
|
2011-06-28 18:46:23 +00:00
|
|
|
md5 'a4f967f9ade56d5181714f3199ffa241'
|
2010-01-04 06:20:57 +00:00
|
|
|
|
|
|
|
depends_on 'libebml'
|
|
|
|
|
|
|
|
def install
|
|
|
|
system 'cp -r make/linux make/darwin'
|
|
|
|
system "cd make/darwin && make install prefix=#{prefix}"
|
|
|
|
end
|
|
|
|
end
|