homebrew-core/Formula/cadaver.rb
Admin 5356878841 cadaver: use Homebrew's neon
This newer version of neon has an SNI fix

Closes Homebrew/homebrew#14168.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-10-30 06:44:01 -07:00

24 lines
598 B
Ruby

require 'formula'
class Cadaver < Formula
homepage 'http://www.webdav.org/cadaver/'
url 'http://www.webdav.org/cadaver/cadaver-0.23.3.tar.gz'
sha1 '4ad8ea2341b77e7dee26b46e4a8a496f1a2962cd'
depends_on 'pkg-config' => :build
depends_on 'gettext'
depends_on 'readline'
depends_on 'neon'
def install
neon_prefix = Formula.factory('neon').opt_prefix
system "./configure", "--prefix=#{prefix}",
"--with-neon=#{neon_prefix}",
"--with-ssl"
cd 'lib/intl' do
system "make"
end
system "make install"
end
end