homebrew-core/Formula/media-info.rb
Matt Ball d76ed7d160 Added mediainfo formula
Signed-off-by: Adam Vandenberg <flangy@gmail.com>

* Renamed per Homebrew naming convention
2010-07-16 11:12:24 -07:00

26 lines
867 B
Ruby

require 'formula'
class MediaInfo <Formula
url 'http://ovh.dl.sourceforge.net/sourceforge/mediainfo/MediaInfo_CLI_0.7.8_GNU_FromSource.tar.bz2'
homepage 'http://mediainfo.sourceforge.net'
version '0.7.8'
md5 '9df4cf265802bae929450954f15a46d1'
depends_on 'pkg-config'
def install
root_dir = Dir.pwd
Dir.chdir root_dir + '/ZenLib/Project/GNU/Library'
system "./configure", "--disable-debug", "--disable-dependency-tracking", "--prefix=#{prefix}"
system "make"
Dir.chdir root_dir + "/MediaInfoLib/Project/GNU/Library"
system "./configure", "--disable-debug", "--disable-dependency-tracking", "--prefix=#{prefix}"
system "make install"
Dir.chdir root_dir + "/MediaInfo/Project/GNU/CLI"
system "./configure", "--disable-debug", "--disable-dependency-tracking", "--prefix=#{prefix}"
system "make install"
end
end