homebrew-core/Formula/media-info.rb
Misty De Meo 0776b9ca97 mediainfo 0.7.48
Add ENV.deparallelize because this build no longer seems to build in
parallel. Also add an alias for the alternate spelling 'mediainfo'

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-08-24 23:06:23 -05:00

28 lines
923 B
Ruby

require 'formula'
class MediaInfo < Formula
url 'http://downloads.sourceforge.net/sourceforge/mediainfo/MediaInfo_CLI_0.7.48_GNU_FromSource.tar.bz2'
homepage 'http://mediainfo.sourceforge.net'
md5 '47017511e067ca992d7fe41f9018e579'
depends_on 'pkg-config' => :build
def install
# Build fails when parallelized
ENV.deparallelize
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