homebrew-core/Formula/media-info.rb
Misty De Meo 6377bb668e mediainfo 0.7.50
Closes Homebrew/homebrew#8088.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-10-12 16:18:06 -05:00

25 lines
864 B
Ruby

require 'formula'
class MediaInfo < Formula
url 'http://downloads.sourceforge.net/sourceforge/mediainfo/MediaInfo_CLI_0.7.50_GNU_FromSource.tar.bz2'
homepage 'http://mediainfo.sourceforge.net'
md5 '1af1ce104975680bda00e2fe8d80d49c'
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