homebrew-core/Formula/cadaver.rb

59 lines
1.8 KiB
Ruby
Raw Normal View History

require "formula"
2009-09-10 09:17:00 +00:00
2011-03-10 05:11:03 +00:00
class Cadaver < Formula
desc "Command-line client for DAV"
homepage "http://www.webdav.org/cadaver/"
url "http://www.webdav.org/cadaver/cadaver-0.23.3.tar.gz"
sha1 "4ad8ea2341b77e7dee26b46e4a8a496f1a2962cd"
revision 1
2009-09-10 09:17:00 +00:00
2014-08-22 18:04:04 +00:00
bottle do
2014-08-25 10:54:13 +00:00
revision 1
sha1 "0829bec6edbe68f27cac9698755b16ba0781bb88" => :mavericks
sha1 "d65e0588474bd227e077fab167e6bbdf848296b5" => :mountain_lion
sha1 "fdef244b44064695da2d0c2107bc4721ee47e613" => :lion
2014-08-22 18:04:04 +00:00
end
depends_on "pkg-config" => :build
depends_on "gettext"
depends_on "readline"
depends_on "neon"
depends_on "openssl"
2014-02-25 04:39:46 +00:00
# enable build with the latest neon
2014-03-18 17:13:29 +00:00
patch :DATA
2009-09-10 09:17:00 +00:00
def install
2012-03-10 03:21:12 +00:00
system "./configure", "--prefix=#{prefix}",
2014-04-22 21:11:04 +00:00
"--with-ssl=openssl",
"--with-libs=#{Formula["openssl"].opt_prefix}",
"--with-neon=#{Formula["neon"].opt_prefix}"
2014-04-17 04:10:11 +00:00
system "make", "-C", "lib/intl"
system "make", "install"
2009-09-10 09:17:00 +00:00
end
end
__END__
--- cadaver-0.23.3-orig/configure 2009-12-16 01:36:26.000000000 +0300
+++ cadaver-0.23.3/configure 2013-11-04 22:44:00.000000000 +0400
@@ -10328,7 +10328,7 @@
$as_echo "$ne_cv_lib_neon" >&6; }
if test "$ne_cv_lib_neon" = "yes"; then
ne_cv_lib_neonver=no
- for v in 27 28 29; do
+ for v in 27 28 29 30; do
case $ne_libver in
0.$v.*) ne_cv_lib_neonver=yes ;;
esac
@@ -10975,8 +10975,8 @@
fi
else
- { $as_echo "$as_me:$LINENO: incompatible neon library version $ne_libver: wanted 0.27 28 29" >&5
-$as_echo "$as_me: incompatible neon library version $ne_libver: wanted 0.27 28 29" >&6;}
+ { $as_echo "$as_me:$LINENO: incompatible neon library version $ne_libver: wanted 0.27 28 29 30" >&5
+$as_echo "$as_me: incompatible neon library version $ne_libver: wanted 0.27 28 29 30" >&6;}
neon_got_library=no
fi