2009-10-15 08:07:12 +00:00
|
|
|
require 'formula'
|
2009-09-03 17:18:48 +00:00
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class CAres < Formula
|
2009-11-26 06:46:19 +00:00
|
|
|
homepage 'http://c-ares.haxx.se/'
|
2013-05-24 03:20:31 +00:00
|
|
|
url 'http://c-ares.haxx.se/download/c-ares-1.10.0.tar.gz'
|
|
|
|
sha1 'e44e6575d5af99cb3a38461486e1ee8b49810eb5'
|
2009-09-03 17:18:48 +00:00
|
|
|
|
2015-01-08 03:36:46 +00:00
|
|
|
bottle do
|
|
|
|
cellar :any
|
|
|
|
sha1 "aa711a345bac4780f2e7737c212c1fb5f7862de8" => :yosemite
|
|
|
|
sha1 "c6851c662552524fa92e341869a23ea72dbc4375" => :mavericks
|
|
|
|
sha1 "27494a19ac612daedeb55356e911328771f94b19" => :mountain_lion
|
|
|
|
end
|
|
|
|
|
2009-09-03 17:18:48 +00:00
|
|
|
def install
|
2012-04-28 21:05:50 +00:00
|
|
|
system "./configure", "--prefix=#{prefix}",
|
|
|
|
'--disable-dependency-tracking',
|
|
|
|
'--disable-debug'
|
2009-09-03 17:18:48 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|