61b2307139
brewkit.rb changes ENV destructively, so lets not do that everytime a formula is required. Now it's possible for other tools to require a formula description without worrying about side-effects.
16 lines
451 B
Ruby
16 lines
451 B
Ruby
require 'formula'
|
|
|
|
class Expat <Formula
|
|
@url='http://softlayer.dl.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", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking"
|
|
system "make install"
|
|
end
|
|
|
|
def caveats
|
|
"Note that OS X has Expat 1.5 installed in /usr already."
|
|
end
|
|
end
|