aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/sofia-sip.rb
blob: ed621585421d7fbbeca633b6506534b2a3ec6612 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
require 'formula'

class SofiaSip < Formula
  homepage 'http://sofia-sip.sourceforge.net/'
  url 'https://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