homebrew-core/Formula/sofia-sip.rb
Ted Pennings 4cd0935be7 Convert all 'def test' formulae to 'test do'
Closes Homebrew/homebrew#26942.
Closes Homebrew/homebrew#26946.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2014-02-24 19:54:02 -08:00

22 lines
556 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'
sha1 'fe11c98fae19cbdbd7e55876c5553c1f9a0c561d'
depends_on 'pkg-config' => :build
depends_on 'glib'
depends_on 'gettext'
def install
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make install"
end
test do
system "#{bin}/localinfo"
system "#{bin}/sip-date"
end
end