diff options
author | MCApollo <34170230+MCApollo@users.noreply.github.com> | 2019-04-20 20:49:46 -0500 |
---|---|---|
committer | MCApollo <34170230+MCApollo@users.noreply.github.com> | 2019-04-23 20:18:47 -0500 |
commit | 12335518ab39608d58370c85ff9f5384ad2aa5f7 (patch) | |
tree | 352d81f2a2de3f1252af732080ec0fde38c13b4d /homebrew/neon | |
parent | a2b26ad12d4fa12f0273645caf4be6d0b8b71e7c (diff) |
Ported in the homebrew-marauder for a hacky update/import system.
TODO: Maybe add a license & fix up messy code.
Diffstat (limited to 'homebrew/neon')
-rw-r--r-- | homebrew/neon/.beer | 50 | ||||
-rw-r--r-- | homebrew/neon/.make.sh-auto | 3 | ||||
-rw-r--r-- | homebrew/neon/_metadata/description | 1 | ||||
-rw-r--r-- | homebrew/neon/_metadata/homepage | 1 | ||||
-rw-r--r-- | homebrew/neon/_metadata/name | 1 | ||||
-rw-r--r-- | homebrew/neon/_metadata/version | 1 | ||||
-rwxr-xr-x | homebrew/neon/download.sh | 1 | ||||
-rwxr-xr-x | homebrew/neon/patches.sh | 15 |
8 files changed, 73 insertions, 0 deletions
diff --git a/homebrew/neon/.beer b/homebrew/neon/.beer new file mode 100644 index 000000000..8a919ffd4 --- /dev/null +++ b/homebrew/neon/.beer @@ -0,0 +1,50 @@ +{ + "name": "Neon", + "description": "HTTP and WebDAV client library with a C interface", + "url": "https://mirrorservice.org/sites/distfiles.macports.org/neon/neon-0.30.2.tar.gz", + "mirror": "https://fossies.org/linux/www/neon-0.30.2.tar.gz", + "homepage": "https://web.archive.org/web/webdav.org/neon/", + "depends": [ + { + "depend": "pkg-config", + "build-depend": true + }, + { + "depend": "openssl", + "build-depend": false + } + ], + "resource": [], + "conflicts": [], + "patches": [ + { + "url": null, + "data": [ + "diff --git a/configure b/configure\n", + "index d7702d2..5c3b5a3 100755\n", + "--- a/configure\n", + "+++ b/configure\n", + "@@ -4224,7 +4224,6 @@ fi\n", + " $as_echo \"$ne_cv_os_uname\" >&6; }\n", + "\n", + " if test \"$ne_cv_os_uname\" = \"Darwin\"; then\n", + "- CPPFLAGS=\"$CPPFLAGS -no-cpp-precomp\"\n", + " LDFLAGS=\"$LDFLAGS -flat_namespace\"\n", + " # poll has various issues in various Darwin releases\n", + " if test x${ac_cv_func_poll+set} != xset; then\n" + ] + } + ], + "install": [ + "system \"./configure\", \"--disable-debug\",", + "\"--prefix=#{prefix}\",", + "\"--enable-shared\",", + "\"--disable-static\",", + "\"--disable-nls\",", + "\"--with-ssl=openssl\",", + "\"--with-libs=#{Formula[\"openssl\"].opt_prefix}\"", + "system \"make\", \"install\"" + ], + "version": "0.30.2", + "file": "neon.rb" +}
\ No newline at end of file diff --git a/homebrew/neon/.make.sh-auto b/homebrew/neon/.make.sh-auto new file mode 100644 index 000000000..4c368c858 --- /dev/null +++ b/homebrew/neon/.make.sh-auto @@ -0,0 +1,3 @@ +pkg:setup +pkg:configure --enable-shared --disable-static --disable-nls --with-ssl=openssl --with-libs=#{Formula[openssl"].opt_prefix}" +make DESTDIR=${PKG_DEST} install diff --git a/homebrew/neon/_metadata/description b/homebrew/neon/_metadata/description new file mode 100644 index 000000000..c188e7115 --- /dev/null +++ b/homebrew/neon/_metadata/description @@ -0,0 +1 @@ +HTTP and WebDAV client library with a C interface diff --git a/homebrew/neon/_metadata/homepage b/homebrew/neon/_metadata/homepage new file mode 100644 index 000000000..fb24bdeb4 --- /dev/null +++ b/homebrew/neon/_metadata/homepage @@ -0,0 +1 @@ +https://web.archive.org/web/webdav.org/neon/ diff --git a/homebrew/neon/_metadata/name b/homebrew/neon/_metadata/name new file mode 100644 index 000000000..36d9e9178 --- /dev/null +++ b/homebrew/neon/_metadata/name @@ -0,0 +1 @@ +Neon diff --git a/homebrew/neon/_metadata/version b/homebrew/neon/_metadata/version new file mode 100644 index 000000000..0f7217737 --- /dev/null +++ b/homebrew/neon/_metadata/version @@ -0,0 +1 @@ +0.30.2 diff --git a/homebrew/neon/download.sh b/homebrew/neon/download.sh new file mode 100755 index 000000000..2e8d003a9 --- /dev/null +++ b/homebrew/neon/download.sh @@ -0,0 +1 @@ +wget https://mirrorservice.org/sites/distfiles.macports.org/neon/neon-0.30.2.tar.gz || wget https://fossies.org/linux/www/neon-0.30.2.tar.gz
\ No newline at end of file diff --git a/homebrew/neon/patches.sh b/homebrew/neon/patches.sh new file mode 100755 index 000000000..7919d596a --- /dev/null +++ b/homebrew/neon/patches.sh @@ -0,0 +1,15 @@ +echo 'Creating brew-patch.diff' +cat << EOF >> brew-patch.diff +diff --git a/configure b/configure +index d7702d2..5c3b5a3 100755 +--- a/configure ++++ b/configure +@@ -4224,7 +4224,6 @@ fi + $as_echo "$ne_cv_os_uname" >&6; } + + if test "$ne_cv_os_uname" = "Darwin"; then +- CPPFLAGS="$CPPFLAGS -no-cpp-precomp" + LDFLAGS="$LDFLAGS -flat_namespace" + # poll has various issues in various Darwin releases + if test x${ac_cv_func_poll+set} != xset; then +EOF |