7bd947eb0b
* Use new "url" features * Use keg_only DSL * Use "skip_clean :all" DSL * Whitespace and style cleanups * Make bash invocations less silly * Use new man2-man8 helpers * Remove "FileUtils." since it is included in Formula * Use real names for deps instead of aliases * ENV.x11 now updates path, so remove that from individual brews
18 lines
514 B
Ruby
18 lines
514 B
Ruby
require 'formula'
|
|
|
|
class Expat <Formula
|
|
url 'http://downloads.sourceforge.net/project/expat/expat/2.0.1/expat-2.0.1.tar.gz'
|
|
homepage 'http://expat.sourceforge.net/'
|
|
md5 'ee8b492592568805593f81f8cdf2a04c'
|
|
|
|
def install
|
|
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
|