2009-10-15 08:07:12 +00:00
|
|
|
require 'formula'
|
2009-09-02 19:29:51 +00:00
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Expat < Formula
|
2010-04-07 05:58:35 +00:00
|
|
|
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'
|
2012-11-04 17:10:10 +00:00
|
|
|
sha1 'b08197d146930a5543a7b99e871cba3da614f6f0'
|
2009-09-02 19:29:51 +00:00
|
|
|
|
2014-01-30 09:21:03 +00:00
|
|
|
option :universal
|
|
|
|
|
2009-09-02 19:29:51 +00:00
|
|
|
def install
|
2014-01-30 09:21:03 +00:00
|
|
|
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}"
|
2009-09-02 19:29:51 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
2010-04-07 05:58:35 +00:00
|
|
|
|
2009-09-02 19:29:51 +00:00
|
|
|
def caveats
|
|
|
|
"Note that OS X has Expat 1.5 installed in /usr already."
|
|
|
|
end
|
|
|
|
end
|