2013-05-27 23:31:55 +00:00
|
|
|
require 'formula'
|
|
|
|
|
|
|
|
class XmlToolingC < Formula
|
|
|
|
homepage 'https://wiki.shibboleth.net/confluence/display/OpenSAML/XMLTooling-C'
|
2013-10-11 17:40:23 +00:00
|
|
|
url 'http://shibboleth.net/downloads/c++-opensaml/2.5.3/xmltooling-1.5.3.tar.gz'
|
|
|
|
sha1 'b8498a8dafe18bf612a6651ab7af662add5c2a68'
|
2013-05-27 23:31:55 +00:00
|
|
|
|
|
|
|
depends_on 'pkg-config' => :build
|
|
|
|
depends_on 'log4shib'
|
|
|
|
depends_on 'xerces-c'
|
|
|
|
depends_on 'xml-security-c'
|
2013-11-15 06:42:01 +00:00
|
|
|
depends_on 'boost'
|
2013-05-27 23:31:55 +00:00
|
|
|
|
|
|
|
def install
|
2013-11-15 06:42:01 +00:00
|
|
|
ENV.O2 # Os breaks the build
|
|
|
|
system "./configure", "--disable-debug",
|
|
|
|
"--disable-dependency-tracking",
|
2013-05-27 23:31:55 +00:00
|
|
|
"--prefix=#{prefix}"
|
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|