25 lines
802 B
Ruby
25 lines
802 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 :automake
|
|
depends_on :libtool
|
|
|
|
depends_on 'pkg-config' => :build
|
|
depends_on 'gettext'
|
|
depends_on 'gst-plugins-base'
|
|
|
|
def install
|
|
# Compatibility with Automake 1.13 and newer.
|
|
inreplace 'configure.ac', 'AM_CONFIG_HEADER', 'AC_CONFIG_HEADERS'
|
|
system "./autogen.sh", "--disable-debug", "--disable-dependency-tracking",
|
|
"--prefix=#{prefix}",
|
|
"--disable-schemas-install",
|
|
"--disable-gtk-doc"
|
|
system "make"
|
|
system "make install"
|
|
end
|
|
end
|