homebrew-core/Formula/mkvtoolnix.rb
Andrew Marshall 79b5afb94f Update mkvtoolnix to v4.5.0
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-02-04 07:19:54 -08:00

22 lines
752 B
Ruby

require 'formula'
class Mkvtoolnix <Formula
url 'http://www.bunkus.org/videotools/mkvtoolnix/sources/mkvtoolnix-4.5.0.tar.bz2'
homepage 'http://www.bunkus.org/videotools/mkvtoolnix/'
sha1 '7e9c14c29f5aaf7043ac2c2db56326970c63242d'
depends_on 'boost'
depends_on 'libvorbis'
depends_on 'libmatroska'
depends_on 'flac' => :optional
depends_on 'lzo' => :optional
def install
system "./configure", "--disable-debug",
"--prefix=#{prefix}",
"--with-boost-libdir=#{HOMEBREW_PREFIX}/lib", # For non-/usr/local prefix
"--with-boost-regex=boost_regex-mt" # via macports
system "./drake -j#{Hardware.processor_count}"
system "./drake install"
end
end