aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlfred E. Heggestad2014-12-27 19:18:49 +0100
committerMike McQuaid2014-12-27 20:20:10 +0000
commit38dec7ccd91f7b161411d0bdbc1f89fa68cd0374 (patch)
treea7fbe763e3ae68d99f297eb9c89d64670688e8f8
parentfef2bd5d39bf7e52b2f6b9acd5015695337e10ff (diff)
downloadhomebrew-38dec7ccd91f7b161411d0bdbc1f89fa68cd0374.tar.bz2
baresip 0.4.12 (new formula)
This adds baresip a modular SIP-client with Audio/Video support
-rw-r--r--Library/Formula/baresip.rb27
1 files changed, 27 insertions, 0 deletions
diff --git a/Library/Formula/baresip.rb b/Library/Formula/baresip.rb
new file mode 100644
index 000000000..123c155ca
--- /dev/null
+++ b/Library/Formula/baresip.rb
@@ -0,0 +1,27 @@
+class Baresip < Formula
+ homepage "http://www.creytiv.com/"
+ url "http://www.creytiv.com/pub/baresip-0.4.12.tar.gz"
+ sha1 "03f72e93ddf2f896568b092ee63203b1c6a19679"
+
+ depends_on "librem"
+ depends_on "libre"
+
+ def install
+ libre = Formula["libre"]
+ system "make", "install", "PREFIX=#{prefix}",
+ "LIBRE_MK=#{libre.opt_share}/re/re.mk",
+ "LIBRE_INC=#{libre.opt_include}/re",
+ "LIBRE_SO=#{libre.opt_lib}",
+ "MOD_AUTODETECT=",
+ "USE_AVCAPTURE=1",
+ "USE_COREAUDIO=1",
+ "USE_G711=1",
+ "USE_OPENGL=1",
+ "USE_STDIO=1",
+ "USE_UUID=1"
+ end
+
+ test do
+ system "#{bin}/baresip", "-t"
+ end
+end