2009-10-15 08:07:12 +00:00
|
|
|
require 'formula'
|
2009-09-10 09:17:00 +00:00
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Cadaver < Formula
|
2009-11-26 06:46:29 +00:00
|
|
|
homepage 'http://www.webdav.org/cadaver/'
|
2012-03-10 03:21:12 +00:00
|
|
|
url 'http://www.webdav.org/cadaver/cadaver-0.23.3.tar.gz'
|
2011-11-07 07:36:04 +00:00
|
|
|
sha1 '4ad8ea2341b77e7dee26b46e4a8a496f1a2962cd'
|
2009-09-10 09:17:00 +00:00
|
|
|
|
2012-03-10 03:21:12 +00:00
|
|
|
depends_on 'pkg-config' => :build
|
2010-01-22 06:14:46 +00:00
|
|
|
depends_on 'gettext'
|
2012-11-11 03:12:26 +00:00
|
|
|
depends_on 'readline'
|
2012-08-14 05:23:34 +00:00
|
|
|
depends_on 'neon'
|
2010-01-22 06:14:46 +00:00
|
|
|
|
2013-11-04 19:55:05 +00:00
|
|
|
def patches
|
|
|
|
# enable build with the latest neon 0.30
|
|
|
|
DATA
|
|
|
|
end
|
|
|
|
|
2009-09-10 09:17:00 +00:00
|
|
|
def install
|
2012-08-14 05:23:34 +00:00
|
|
|
neon_prefix = Formula.factory('neon').opt_prefix
|
|
|
|
|
2012-03-10 03:21:12 +00:00
|
|
|
system "./configure", "--prefix=#{prefix}",
|
2012-08-14 05:23:34 +00:00
|
|
|
"--with-neon=#{neon_prefix}",
|
2009-11-26 06:46:29 +00:00
|
|
|
"--with-ssl"
|
2012-03-10 03:21:12 +00:00
|
|
|
cd 'lib/intl' do
|
|
|
|
system "make"
|
|
|
|
end
|
2009-09-10 09:17:00 +00:00
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|
2013-11-04 19:55:05 +00:00
|
|
|
|
|
|
|
__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
|
|
|
|
|