New formula: libnice

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This commit is contained in:
Steve Erhart 2014-06-19 15:47:29 -04:00 committed by Jack Nagel
parent e7d83177d5
commit 1db3837f74

23
Formula/libnice.rb Normal file
View file

@ -0,0 +1,23 @@
require "formula"
class Libnice < Formula
homepage "http://nice.freedesktop.org/wiki/"
url "http://nice.freedesktop.org/releases/libnice-0.1.7.tar.gz"
sha1 "94d459fc409da9cf5e4ac30d680ee6c0ded2cb64"
depends_on "pkg-config" => :build
depends_on "glib"
depends_on "gstreamer"
def install
args = %W[
--prefix=#{prefix}
--disable-debug
--disable-dependency-tracking
--disable-silent-rules
]
system "./configure", *args
system "make install"
end
end