homebrew-core/Formula/expat.rb

22 lines
590 B
Ruby
Raw Normal View History

require 'formula'
2011-03-10 05:11:03 +00:00
class Expat < Formula
homepage 'http://expat.sourceforge.net/'
2012-11-25 19:42:57 +00:00
url 'http://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?
2010-04-01 19:16:24 +00:00
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