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.
12 lines
360 B
Ruby
12 lines
360 B
Ruby
require 'formula'
|
|
|
|
class XercesC <Formula
|
|
@url='http://www.osnt.org/apache/xerces/c/3/sources/xerces-c-3.0.1.tar.gz'
|
|
@homepage='http://xerces.apache.org/xerces-c/'
|
|
@md5='293c03f59bf8e956020d73f5b122094c'
|
|
|
|
def install
|
|
system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking"
|
|
system "make install"
|
|
end
|
|
end
|