homebrew-core/Formula/mkvtoolnix.rb
Andrew Marshall c10f3866a5 mkvtoolnix 4.9.1
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-07-11 19:40:50 -07:00

23 lines
804 B
Ruby

require 'formula'
class Mkvtoolnix < Formula
url 'http://www.bunkus.org/videotools/mkvtoolnix/sources/mkvtoolnix-4.9.1.tar.bz2'
sha1 'd457e6ba682816e974da4e13e2dee42d81e1adbd'
head 'https://github.com/mbunkus/mkvtoolnix.git'
homepage 'http://www.bunkus.org/videotools/mkvtoolnix/'
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