2009-10-15 08:07:12 +00:00
|
|
|
require 'formula'
|
2009-08-08 12:52:48 +00:00
|
|
|
|
|
|
|
class Neon <Formula
|
2010-04-19 01:22:26 +00:00
|
|
|
url 'http://www.webdav.org/neon/neon-0.29.3.tar.gz'
|
|
|
|
md5 'ba1015b59c112d44d7797b62fe7bee51'
|
|
|
|
homepage 'http://www.webdav.org/neon/'
|
2009-08-08 12:52:48 +00:00
|
|
|
|
2009-11-04 15:50:12 +00:00
|
|
|
def keg_only?
|
|
|
|
:provided_by_osx
|
|
|
|
end
|
|
|
|
|
2010-05-11 03:37:12 +00:00
|
|
|
def options
|
|
|
|
[
|
|
|
|
['--universal', 'Build as a Universal Intel binary.']
|
|
|
|
]
|
|
|
|
end
|
|
|
|
|
2009-08-08 12:52:48 +00:00
|
|
|
def install
|
2010-05-11 03:37:12 +00:00
|
|
|
ENV.universal_binary if ARGV.include? '--universal'
|
|
|
|
|
2009-09-27 00:56:10 +00:00
|
|
|
system "./configure", "--prefix=#{prefix}",
|
2010-04-19 01:22:26 +00:00
|
|
|
"--disable-debug",
|
2009-11-04 15:50:12 +00:00
|
|
|
"--enable-shared",
|
|
|
|
"--disable-static",
|
2009-09-27 00:56:10 +00:00
|
|
|
"--with-ssl"
|
2009-08-08 12:52:48 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|