2010-05-27 04:56:53 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class MediaInfo < Formula
|
2011-07-07 18:32:00 +00:00
|
|
|
url 'http://downloads.sourceforge.net/sourceforge/mediainfo/MediaInfo_CLI_0.7.46_GNU_FromSource.tar.bz2'
|
2010-05-27 04:56:53 +00:00
|
|
|
homepage 'http://mediainfo.sourceforge.net'
|
2011-07-07 18:32:00 +00:00
|
|
|
md5 '06ee9ebad5d450ab4058d04ea8b10850'
|
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
|