mkvtoolnix update to 4.0.0 and fix compilation when HOMEBREW_PREFIX != /usr/local

This commit is contained in:
Dominic Evans 2010-06-07 08:56:23 +01:00 committed by Adam Vandenberg
parent 544a17c626
commit b89c6eb719

View file

@ -1,9 +1,9 @@
require 'formula'
class Mkvtoolnix <Formula
url 'http://www.bunkus.org/videotools/mkvtoolnix/sources/mkvtoolnix-3.3.0.tar.bz2'
url 'http://www.bunkus.org/videotools/mkvtoolnix/sources/mkvtoolnix-4.0.0.tar.bz2'
homepage 'http://www.bunkus.org/videotools/mkvtoolnix/'
md5 'a002b6537e4515b6a0b26f42e8a2eb9a'
md5 '434eb24b9c49a99ac386bd2c4c525538'
depends_on 'boost'
depends_on 'libvorbis'
@ -21,6 +21,7 @@ class Mkvtoolnix <Formula
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
flac_flag,
"--disable-gui", "--disable-wxwidgets"