homebrew-core/Formula/media-info.rb
Dave Rice 1dcc6c5ac0 mediainfo 0.7.55
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-04-05 19:21:25 -07:00

32 lines
953 B
Ruby

require 'formula'
class MediaInfo < Formula
homepage 'http://mediainfo.sourceforge.net'
url 'http://downloads.sourceforge.net/mediainfo/MediaInfo_CLI_0.7.55_GNU_FromSource.tar.bz2'
md5 'ce02b3074e545f20c4a2c5c900b083a3'
depends_on 'pkg-config' => :build
def install
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",
"--with-libcurl",
"--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
end
end