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
268 B
Ruby
12 lines
268 B
Ruby
require 'formula'
|
|
|
|
class CAres <Formula
|
|
@url='http://c-ares.haxx.se/c-ares-1.6.0.tar.gz'
|
|
@homepage='http://c-ares.haxx.se/'
|
|
@md5='4503b0db3dd79d3c1f58d87722dbab46'
|
|
|
|
def install
|
|
system "./configure", "--prefix=#{prefix}"
|
|
system "make install"
|
|
end
|
|
end
|