2010-05-27 04:56:53 +00:00
|
|
|
require 'formula'
|
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class MediaInfo < Formula
|
2010-05-27 04:56:53 +00:00
|
|
|
homepage 'http://mediainfo.sourceforge.net'
|
2012-10-22 20:22:41 +00:00
|
|
|
url 'http://downloads.sourceforge.net/mediainfo/MediaInfo_CLI_0.7.61_GNU_FromSource.tar.bz2'
|
|
|
|
version '0.7.61'
|
|
|
|
sha1 'd05788f284f3e9de5bda98456ed788999b244198'
|
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
|
2012-02-21 06:04:21 +00:00
|
|
|
cd 'ZenLib/Project/GNU/Library' do
|
|
|
|
system "./configure", "--disable-debug", "--disable-dependency-tracking",
|
|
|
|
"--prefix=#{prefix}"
|
|
|
|
system "make"
|
|
|
|
end
|
|
|
|
|
|
|
|
cd "MediaInfoLib/Project/GNU/Library" do
|
|
|
|
args = ["--disable-debug",
|
|
|
|
"--disable-dependency-tracking",
|
2012-03-02 16:42:53 +00:00
|
|
|
"--with-libcurl",
|
2012-02-21 06:04:21 +00:00
|
|
|
"--prefix=#{prefix}"]
|
|
|
|
system "./configure", *args
|
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
|
|
|
|
cd "MediaInfo/Project/GNU/CLI" do
|
|
|
|
system "./configure", "--disable-debug", "--disable-dependency-tracking",
|
|
|
|
"--prefix=#{prefix}"
|
|
|
|
system "make install"
|
|
|
|
end
|
2010-05-27 04:56:53 +00:00
|
|
|
end
|
|
|
|
end
|