1e62c645b2
Closes #5501.
31 lines
1.4 KiB
Ruby
31 lines
1.4 KiB
Ruby
class Libexosip < Formula
|
|
desc "eXosip2 toolkit"
|
|
homepage "https://www.antisip.com/category/osip-and-exosip-toolkit"
|
|
url "https://download.savannah.gnu.org/releases/exosip/libeXosip2-4.1.0.tar.gz"
|
|
sha256 "3c77713b783f239e3bdda0cc96816a544c41b2c96fa740a20ed322762752969d"
|
|
|
|
bottle do
|
|
cellar :any
|
|
rebuild 1
|
|
sha256 "c1665d6b10cabe50e94316f589ceadd23a851f989c2eff52a532df04870f7cc3" => :sierra
|
|
sha256 "ed64379360adbbb2bd5c775891faad36bf6203df14c80a44f8a7f8352b050ae9" => :el_capitan
|
|
sha256 "c77e33eeb31833d443251338d84044ee2ce87863fc4de36604685aaf002057e9" => :yosemite
|
|
sha256 "f650ff7155a07782e895d7c5c6f5f85fcd8dc44e5080be6249a8cc3dad78a4a6" => :mavericks
|
|
sha256 "a229fe8f6e8e4934d8e9af5d5a3e7905da8329dbc35864d34f915751e6fa6d8a" => :mountain_lion
|
|
end
|
|
|
|
depends_on "pkg-config" => :build
|
|
depends_on "libosip"
|
|
depends_on "openssl"
|
|
|
|
def install
|
|
# Extra linker flags are needed to build this on macOS. See:
|
|
# https://growingshoot.blogspot.com/2013/02/manually-install-osip-and-exosip-as.html
|
|
# Upstream bug ticket: https://savannah.nongnu.org/bugs/index.php?45079
|
|
ENV.append "LDFLAGS", "-framework CoreFoundation -framework CoreServices "\
|
|
"-framework Security"
|
|
system "./configure", "--disable-debug", "--disable-dependency-tracking",
|
|
"--prefix=#{prefix}"
|
|
system "make", "install"
|
|
end
|
|
end
|