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
|
2013-01-29 03:49:10 +00:00
|
|
|
homepage 'http://www.webdav.org/neon/'
|
2012-01-08 17:55:03 +00:00
|
|
|
url 'http://www.webdav.org/neon/neon-0.29.6.tar.gz'
|
2012-09-03 18:33:56 +00:00
|
|
|
sha1 'ae1109923303f67ed3421157927bc4bc29c58961'
|
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
|
|
|
|
2012-08-12 17:57:57 +00:00
|
|
|
option :universal
|
2010-05-11 03:37:12 +00:00
|
|
|
|
2009-08-08 12:52:48 +00:00
|
|
|
def install
|
2012-08-12 17:57:57 +00:00
|
|
|
ENV.universal_binary if build.universal?
|
2013-01-14 10:38:11 +00:00
|
|
|
ENV.enable_warnings
|
2013-01-29 03:49:10 +00:00
|
|
|
system "./configure", "--disable-debug",
|
|
|
|
"--prefix=#{prefix}",
|
2009-11-04 15:50:12 +00:00
|
|
|
"--enable-shared",
|
|
|
|
"--disable-static",
|
2013-05-26 19:08:05 +00:00
|
|
|
"--disable-nls",
|
2009-09-27 00:56:10 +00:00
|
|
|
"--with-ssl"
|
2009-08-08 12:52:48 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|