2010-05-27 04:56:53 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class MediaInfo < Formula
|
2011-10-12 17:00:37 +00:00
|
|
|
url 'http://downloads.sourceforge.net/sourceforge/mediainfo/MediaInfo_CLI_0.7.50_GNU_FromSource.tar.bz2'
|
2010-05-27 04:56:53 +00:00
|
|
|
homepage 'http://mediainfo.sourceforge.net'
|
2011-10-12 17:00:37 +00:00
|
|
|
md5 '1af1ce104975680bda00e2fe8d80d49c'
|
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
|