homebrew-core/Formula/gst-rtsp.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

26 lines
831 B
Ruby

require 'formula'
class GstRtsp < Formula
homepage 'http://gstreamer.freedesktop.org/'
url 'http://gstreamer.freedesktop.org/src/gst-rtsp/gst-rtsp-0.10.8.tar.bz2'
sha256 '9915887cf8515bda87462c69738646afb715b597613edc7340477ccab63a6617'
depends_on 'pkg-config' => :build
depends_on 'gettext'
depends_on 'gst-plugins-base'
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}",
"--disable-schemas-install",
"--disable-gtk-doc"
system "make"
system "make install"
end
end