homebrew-core/Formula/expat.rb
Jaime Marquínez Ferrándiz 74c83fa9f6 Batch convert http download urls from SourceForge to https
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2014-03-02 09:16:53 -08:00

21 lines
591 B
Ruby

require 'formula'
class Expat < Formula
homepage 'http://expat.sourceforge.net/'
url 'https://downloads.sourceforge.net/project/expat/expat/2.1.0/expat-2.1.0.tar.gz'
sha1 'b08197d146930a5543a7b99e871cba3da614f6f0'
option :universal
def install
ENV.universal_binary if build.universal?
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}",
"--mandir=#{man}"
system "make install"
end
def caveats
"Note that OS X has Expat 1.5 installed in /usr already."
end
end