New formula: libnice
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This commit is contained in:
parent
e7d83177d5
commit
1db3837f74
1 changed files with 23 additions and 0 deletions
23
Formula/libnice.rb
Normal file
23
Formula/libnice.rb
Normal 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
|
Loading…
Reference in a new issue