homebrew-core/Formula/xml-security-c.rb
2017-09-17 22:33:40 +02:00

30 lines
1.3 KiB
Ruby

class XmlSecurityC < Formula
desc "Implementation of primary security standards for XML"
homepage "https://santuario.apache.org/"
url "https://www.apache.org/dyn/closer.cgi?path=/santuario/c-library/xml-security-c-1.7.3.tar.gz"
sha256 "e5226e7319d44f6fd9147a13fb853f5c711b9e75bf60ec273a0ef8a190592583"
bottle do
cellar :any
sha256 "5a598a52e52a166ab1decef84d8a9ba43d80c1e8f2db66953c9c4164b0b63283" => :high_sierra
sha256 "6fc5691a1dddd4014f13cfb6d858d4d45b1aeda8731cca0b7e523f4bf0cfa0d7" => :sierra
sha256 "974d81e0d9a98cccdaccb343fea0e42d868eb56f08cb56c43689970aa5be51f7" => :el_capitan
sha256 "d80d8ce35414c2afcd87013b5c0279e42ce4d4e22ceb15c904e9750fa3c2aa1f" => :yosemite
sha256 "c5b52cc0a050efe40157c92cc856cebe5061f3863bc3a872ec8c566da3652326" => :mavericks
sha256 "5c17003e3418804b1b854177d8ce55eac1686a6c3642d31dbc64494a2d5b930a" => :mountain_lion
end
depends_on "pkg-config" => :build
depends_on "xerces-c"
depends_on "openssl"
def install
system "./configure", "--prefix=#{prefix}", "--disable-dependency-tracking",
"--with-openssl=#{Formula["openssl"].opt_prefix}"
system "make", "install"
end
test do
assert_match /All tests passed/, pipe_output("#{bin}/xtest 2>&1")
end
end