homebrew-core/Formula/media-info.rb
Lior Galanti 296c8d3335 Update media-info to 0.7.36
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-10-27 11:58:57 -07:00

26 lines
882 B
Ruby

require 'formula'
class MediaInfo <Formula
url 'http://downloads.sourceforge.net/sourceforge/mediainfo/MediaInfo_CLI_0.7.36_GNU_FromSource.tar.bz2'
homepage 'http://mediainfo.sourceforge.net'
version '0.7.36'
md5 '6ab6bc21e03f20a1a29df065071d78ee'
depends_on 'pkg-config' => :build
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