summaryrefslogtreecommitdiff
path: root/homebrew/cadaver
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/cadaver')
-rw-r--r--homebrew/cadaver/.beer70
-rw-r--r--homebrew/cadaver/.make.sh-auto4
-rw-r--r--homebrew/cadaver/_metadata/description1
-rw-r--r--homebrew/cadaver/_metadata/homepage1
-rw-r--r--homebrew/cadaver/_metadata/name1
-rw-r--r--homebrew/cadaver/_metadata/version1
-rwxr-xr-xhomebrew/cadaver/download.sh1
-rwxr-xr-xhomebrew/cadaver/patches.sh25
8 files changed, 104 insertions, 0 deletions
diff --git a/homebrew/cadaver/.beer b/homebrew/cadaver/.beer
new file mode 100644
index 000000000..21c16a2d9
--- /dev/null
+++ b/homebrew/cadaver/.beer
@@ -0,0 +1,70 @@
+{
+ "name": "Cadaver",
+ "description": "Command-line client for DAV",
+ "url": "https://mirrorservice.org/sites/download.salixos.org/i486/extra-14.2/source/network/cadaver/cadaver-0.23.3.tar.gz",
+ "mirror": "https://src.fedoraproject.org/repo/pkgs/cadaver/cadaver-0.23.3.tar.gz/502ecd601e467f8b16056d2acca39a6f/cadaver-0.23.3.tar.gz",
+ "homepage": "https://directory.fsf.org/wiki/Cadaver",
+ "depends": [
+ {
+ "depend": "pkg-config",
+ "build-depend": true
+ },
+ {
+ "depend": "gettext",
+ "build-depend": false
+ },
+ {
+ "depend": "neon",
+ "build-depend": false
+ },
+ {
+ "depend": "openssl",
+ "build-depend": false
+ },
+ {
+ "depend": "readline",
+ "build-depend": false
+ }
+ ],
+ "resource": [],
+ "conflicts": [],
+ "patches": [
+ {
+ "url": null,
+ "data": [
+ "--- cadaver-0.23.3-orig/configure\t2009-12-16 01:36:26.000000000 +0300\n",
+ "+++ cadaver-0.23.3/configure\t2013-11-04 22:44:00.000000000 +0400\n",
+ "@@ -10328,7 +10328,7 @@\n",
+ " $as_echo \"$ne_cv_lib_neon\" >&6; }\n",
+ " if test \"$ne_cv_lib_neon\" = \"yes\"; then\n",
+ " ne_cv_lib_neonver=no\n",
+ "- for v in 27 28 29; do\n",
+ "+ for v in 27 28 29 30; do\n",
+ " case $ne_libver in\n",
+ " 0.$v.*) ne_cv_lib_neonver=yes ;;\n",
+ " esac\n",
+ "@@ -10975,8 +10975,8 @@\n",
+ " fi\n",
+ " \n",
+ " else\n",
+ "- { $as_echo \"$as_me:$LINENO: incompatible neon library version $ne_libver: wanted 0.27 28 29\" >&5\n",
+ "-$as_echo \"$as_me: incompatible neon library version $ne_libver: wanted 0.27 28 29\" >&6;}\n",
+ "+ { $as_echo \"$as_me:$LINENO: incompatible neon library version $ne_libver: wanted 0.27 28 29 30\" >&5\n",
+ "+$as_echo \"$as_me: incompatible neon library version $ne_libver: wanted 0.27 28 29 30\" >&6;}\n",
+ " neon_got_library=no\n",
+ " fi\n",
+ " \n"
+ ]
+ }
+ ],
+ "install": [
+ "system \"./configure\", \"--prefix=#{prefix}\",",
+ "\"--with-ssl=openssl\",",
+ "\"--with-libs=#{Formula[\"openssl\"].opt_prefix}\",",
+ "\"--with-neon=#{Formula[\"neon\"].opt_prefix}\"",
+ "system \"make\", \"-C\", \"lib/intl\"",
+ "system \"make\", \"install\""
+ ],
+ "version": "0.23.3",
+ "file": "cadaver.rb"
+} \ No newline at end of file
diff --git a/homebrew/cadaver/.make.sh-auto b/homebrew/cadaver/.make.sh-auto
new file mode 100644
index 000000000..3bfddd210
--- /dev/null
+++ b/homebrew/cadaver/.make.sh-auto
@@ -0,0 +1,4 @@
+pkg:setup
+pkg:configure --with-ssl=openssl --with-libs=#{Formula[openssl"].opt_prefix}" --with-neon=#{Formula[neon"].opt_prefix}"
+make -C lib/intl
+make DESTDIR=${PKG_DEST} install
diff --git a/homebrew/cadaver/_metadata/description b/homebrew/cadaver/_metadata/description
new file mode 100644
index 000000000..953c7f4ec
--- /dev/null
+++ b/homebrew/cadaver/_metadata/description
@@ -0,0 +1 @@
+Command-line client for DAV
diff --git a/homebrew/cadaver/_metadata/homepage b/homebrew/cadaver/_metadata/homepage
new file mode 100644
index 000000000..684482834
--- /dev/null
+++ b/homebrew/cadaver/_metadata/homepage
@@ -0,0 +1 @@
+https://directory.fsf.org/wiki/Cadaver
diff --git a/homebrew/cadaver/_metadata/name b/homebrew/cadaver/_metadata/name
new file mode 100644
index 000000000..857045e62
--- /dev/null
+++ b/homebrew/cadaver/_metadata/name
@@ -0,0 +1 @@
+Cadaver
diff --git a/homebrew/cadaver/_metadata/version b/homebrew/cadaver/_metadata/version
new file mode 100644
index 000000000..9e40e75c5
--- /dev/null
+++ b/homebrew/cadaver/_metadata/version
@@ -0,0 +1 @@
+0.23.3
diff --git a/homebrew/cadaver/download.sh b/homebrew/cadaver/download.sh
new file mode 100755
index 000000000..1cc39e0b6
--- /dev/null
+++ b/homebrew/cadaver/download.sh
@@ -0,0 +1 @@
+wget https://mirrorservice.org/sites/download.salixos.org/i486/extra-14.2/source/network/cadaver/cadaver-0.23.3.tar.gz || wget https://src.fedoraproject.org/repo/pkgs/cadaver/cadaver-0.23.3.tar.gz/502ecd601e467f8b16056d2acca39a6f/cadaver-0.23.3.tar.gz \ No newline at end of file
diff --git a/homebrew/cadaver/patches.sh b/homebrew/cadaver/patches.sh
new file mode 100755
index 000000000..2fc421818
--- /dev/null
+++ b/homebrew/cadaver/patches.sh
@@ -0,0 +1,25 @@
+echo 'Creating brew-patch.diff'
+cat << EOF >> brew-patch.diff
+--- 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
+
+EOF