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
|
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'
|
2010-04-19 01:22:26 +00:00
|
|
|
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
|
|
|
|
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?
|
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
|