0afba0d053
Sofia-SIP is an open-source SIP User-Agent library, compliant with the IETF RFC3261 specification Closes Homebrew/homebrew#11664. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
22 lines
548 B
Ruby
22 lines
548 B
Ruby
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
|