homebrew-core/Formula/neon.rb

28 lines
727 B
Ruby
Raw Normal View History

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'
md5 '591e0c82e6979e7e615211b386b8f6bc'
homepage 'http://www.webdav.org/neon/'
2009-08-08 12:52:48 +00:00
depends_on 'pkg-config' => :build
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."
2010-05-11 03:37:12 +00:00
def options
[['--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}",
"--disable-debug",
"--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