homebrew-core/Formula/media-info.rb
Jack Nagel 7ee748c811 Adjust formula versions
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-08-18 11:13:54 -05:00

33 lines
981 B
Ruby

require 'formula'
class MediaInfo < Formula
homepage 'http://mediainfo.sourceforge.net'
url 'http://downloads.sourceforge.net/mediainfo/MediaInfo_CLI_0.7.59_GNU_FromSource.tar.bz2'
version '0.7.59'
sha1 'ac7fde6e4d8ae5f127675e74c005cd7b5ddc9b6a'
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