homebrew-core/Formula/libdvdnav.rb
Max Howell 06cb65df78 These now depend on automake for Xcode >= 4.3
Fixes Homebrew/homebrew#10559.

Also added missing deps for osm2pgsql.

Removed some ACLOCAL_FLAGS stuff as in theory this is not set in ENV.rb. Would like to see if it causes trouble. Should just work now.
2012-02-28 15:40:59 +00:00

22 lines
650 B
Ruby

require 'formula'
class Libdvdnav < Formula
homepage 'http://dvdnav.mplayerhq.hu/'
url 'http://dvdnav.mplayerhq.hu/releases/libdvdnav-4.2.0.tar.bz2'
head 'svn://svn.mplayerhq.hu/dvdnav/trunk/libdvdnav'
md5 '53be8903f9802e101929a3451203bbf6'
depends_on 'libdvdread'
if MacOS.xcode_version >= "4.3"
# when and if the tarball provides configure, remove autogen.sh and these deps
depends_on "automake" => :build
depends_on "libtool" => :build
end
def install
system "./autogen.sh", "--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make install"
end
end