2009-10-15 08:07:12 +00:00
|
|
|
require 'formula'
|
2009-08-08 12:52:48 +00:00
|
|
|
|
2011-03-10 05:11:03 +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
|
|
|
|
2010-09-19 17:21:57 +00:00
|
|
|
depends_on 'pkg-config' => :build
|
2010-06-28 16:50:22 +00:00
|
|
|
|
2011-03-16 05:01:31 +00:00
|
|
|
keg_only :provided_by_osx,
|
|
|
|
"Compiling newer versions of Subversion on 10.6 require this newer neon."
|
2009-11-04 15:50:12 +00:00
|
|
|
|
2010-05-11 03:37:12 +00:00
|
|
|
def options
|
2010-04-07 05:58:35 +00:00
|
|
|
[['--universal', 'Builds a universal binary.']]
|
2010-05-11 03:37:12 +00:00
|
|
|
end
|
|
|
|
|
2009-08-08 12:52:48 +00:00
|
|
|
def install
|
2011-04-21 16:42:27 +00:00
|
|
|
ENV.universal_binary if ARGV.build_universal?
|
2010-05-11 03:37:12 +00:00
|
|
|
|
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
|