2010-05-27 04:56:53 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class MediaInfo < Formula
|
2010-10-26 19:35:19 +00:00
|
|
|
url 'http://downloads.sourceforge.net/sourceforge/mediainfo/MediaInfo_CLI_0.7.36_GNU_FromSource.tar.bz2'
|
2010-05-27 04:56:53 +00:00
|
|
|
homepage 'http://mediainfo.sourceforge.net'
|
2010-10-26 19:35:19 +00:00
|
|
|
version '0.7.36'
|
|
|
|
md5 '6ab6bc21e03f20a1a29df065071d78ee'
|
2010-05-27 04:56:53 +00:00
|
|
|
|
2010-09-19 17:21:57 +00:00
|
|
|
depends_on 'pkg-config' => :build
|
2010-05-27 04:56:53 +00:00
|
|
|
|
|
|
|
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
|