aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorThomas William2012-04-15 12:59:41 +0200
committerAdam Vandenberg2012-04-18 07:27:33 -0700
commit55c83b6cef52e6efbe0671ccf4aaf88f1f7fab38 (patch)
tree6eded683bad79c53f1b26c6a24b0f6d3dace16f4 /Library/Formula
parentbc5c79c24e6c9acd54656efa0094530b19e8dbf2 (diff)
downloadhomebrew-55c83b6cef52e6efbe0671ccf4aaf88f1f7fab38.tar.bz2
Sofia-SIP 1.12.11
Sofia-SIP is an open-source SIP User-Agent library, compliant with the IETF RFC3261 specification Closes #11664. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/sofia-sip.rb22
1 files changed, 22 insertions, 0 deletions
diff --git a/Library/Formula/sofia-sip.rb b/Library/Formula/sofia-sip.rb
new file mode 100644
index 000000000..e241316e3
--- /dev/null
+++ b/Library/Formula/sofia-sip.rb
@@ -0,0 +1,22 @@
+require 'formula'
+
+class SofiaSip < Formula
+ homepage 'http://sofia-sip.sourceforge.net/'
+ url 'http://downloads.sourceforge.net/project/sofia-sip/sofia-sip/1.12.11/sofia-sip-1.12.11.tar.gz'
+ md5 'f3582c62080eeecd3fa4cd5d4ccb4225'
+
+ depends_on 'pkg-config' => :build
+ depends_on 'glib'
+ depends_on 'gettext'
+
+ def install
+ system "./configure", "--disable-dependency-tracking",
+ "--prefix=#{prefix}"
+ system "make install"
+ end
+
+ def test
+ system "#{bin}/localinfo"
+ system "#{bin}/sip-date"
+ end
+end