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/ekg2 | |
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/ekg2')
-rw-r--r-- | homebrew/ekg2/.beer | 120 | ||||
-rw-r--r-- | homebrew/ekg2/.make.sh-auto | 5 | ||||
-rw-r--r-- | homebrew/ekg2/_metadata/description | 1 | ||||
-rw-r--r-- | homebrew/ekg2/_metadata/homepage | 1 | ||||
-rw-r--r-- | homebrew/ekg2/_metadata/name | 1 | ||||
-rw-r--r-- | homebrew/ekg2/_metadata/version | 1 | ||||
-rwxr-xr-x | homebrew/ekg2/download.sh | 1 | ||||
-rwxr-xr-x | homebrew/ekg2/patches.sh | 75 |
8 files changed, 205 insertions, 0 deletions
diff --git a/homebrew/ekg2/.beer b/homebrew/ekg2/.beer new file mode 100644 index 000000000..28b1a8f71 --- /dev/null +++ b/homebrew/ekg2/.beer @@ -0,0 +1,120 @@ +{ + "name": "Ekg2", + "description": "Multiplatform, multiprotocol, plugin-based instant messenger", + "url": "https://src.fedoraproject.org/lookaside/extras/ekg2/ekg2-0.3.1.tar.gz/68fc05b432c34622df6561eaabef5a40/ekg2-0.3.1.tar.gz", + "mirror": "https://web.archive.org/web/20161227025528/pl.ekg2.org/ekg2-0.3.1.tar.gz", + "homepage": "https://github.com/ekg2/ekg2", + "depends": [ + { + "depend": "pkg-config", + "build-depend": true + }, + { + "depend": "openssl", + "build-depend": false + }, + { + "depend": "readline", + "build-depend": false + } + ], + "resource": [], + "conflicts": [], + "patches": [ + { + "url": null, + "data": [ + "diff --git a/compat/strlcat.c b/compat/strlcat.c\n", + "index 6077d66..c1c1804 100644\n", + "--- a/compat/strlcat.c\n", + "+++ b/compat/strlcat.c\n", + "@@ -14,7 +14,7 @@\n", + " * License along with this program; if not, write to the Free Software\n", + " * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.\n", + " */\n", + "-\n", + "+#ifndef strlcat\n", + " #include <sys/types.h>\n", + "\n", + " size_t strlcat(char *dst, const char *src, size_t size)\n", + "@@ -39,7 +39,7 @@ size_t strlcat(char *dst, const char *src, size_t size)\n", + "\n", + "\treturn dlen + j;\n", + " }\n", + "-\n", + "+#endif\n", + " /*\n", + " * Local Variables:\n", + " * mode: c\n", + "diff --git a/compat/strlcat.h b/compat/strlcat.h\n", + "index cb91fcb..df8f4b0 100644\n", + "--- a/compat/strlcat.h\n", + "+++ b/compat/strlcat.h\n", + "@@ -1,7 +1,8 @@\n", + "+#ifndef strlcat\n", + " #include <sys/types.h>\n", + "\n", + " size_t strlcat(char *dst, const char *src, size_t size);\n", + "-\n", + "+#endif\n", + " /*\n", + " * Local Variables:\n", + " * mode: c\n", + "diff --git a/compat/strlcpy.c b/compat/strlcpy.c\n", + "index 31e41bd..4a40762 100644\n", + "--- a/compat/strlcpy.c\n", + "+++ b/compat/strlcpy.c\n", + "@@ -14,7 +14,7 @@\n", + " * License along with this program; if not, write to the Free Software\n", + " * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.\n", + " */\n", + "-\n", + "+#ifndef strlcpy\n", + " #include <sys/types.h>\n", + "\n", + " size_t strlcpy(char *dst, const char *src, size_t size)\n", + "@@ -32,7 +32,7 @@ size_t strlcpy(char *dst, const char *src, size_t size)\n", + "\n", + "\treturn i;\n", + " }\n", + "-\n", + "+#endif\n", + " /*\n", + " * Local Variables:\n", + " * mode: c\n", + "diff --git a/compat/strlcpy.h b/compat/strlcpy.h\n", + "index 1c80e20..93340af 100644\n", + "--- a/compat/strlcpy.h\n", + "+++ b/compat/strlcpy.h\n", + "@@ -1,7 +1,8 @@\n", + "+#ifndef strlcpy\n", + " #include <sys/types.h>\n", + "\n", + " size_t strlcpy(char *dst, const char *src, size_t size);\n", + "-\n", + "+#endif\n", + " /*\n", + " * Local Variables:\n", + " * mode: c\n" + ] + } + ], + "install": [ + "readline = Formula[\"readline\"].opt_prefix", + "args = %W[", + "--disable-debug", + "--disable-dependency-tracking", + "--prefix=#{prefix}", + "--enable-unicode", + "--with-readline=#{readline}", + "--without-gtk", + "--without-libgadu", + "--without-perl", + "--without-python", + "]", + "system \"./configure\", *args", + "system \"make\", \"install\"" + ], + "version": "0.3.1", + "file": "ekg2.rb" +}
\ No newline at end of file diff --git a/homebrew/ekg2/.make.sh-auto b/homebrew/ekg2/.make.sh-auto new file mode 100644 index 000000000..e22c1c421 --- /dev/null +++ b/homebrew/ekg2/.make.sh-auto @@ -0,0 +1,5 @@ +pkg:setup +readline = Formula["readline"].opt_prefix +args = %W[--disable-debug --disable-dependency-tracking --prefix=#{prefix} --enable-unicode --with-readline=#{readline} --without-gtk --without-libgadu --without-perl --without-python ] +pkg:configure *args +make DESTDIR=${PKG_DEST} install diff --git a/homebrew/ekg2/_metadata/description b/homebrew/ekg2/_metadata/description new file mode 100644 index 000000000..6d623132e --- /dev/null +++ b/homebrew/ekg2/_metadata/description @@ -0,0 +1 @@ +Multiplatform, multiprotocol, plugin-based instant messenger diff --git a/homebrew/ekg2/_metadata/homepage b/homebrew/ekg2/_metadata/homepage new file mode 100644 index 000000000..8ca1b8ff3 --- /dev/null +++ b/homebrew/ekg2/_metadata/homepage @@ -0,0 +1 @@ +https://github.com/ekg2/ekg2 diff --git a/homebrew/ekg2/_metadata/name b/homebrew/ekg2/_metadata/name new file mode 100644 index 000000000..1df1a06ac --- /dev/null +++ b/homebrew/ekg2/_metadata/name @@ -0,0 +1 @@ +Ekg2 diff --git a/homebrew/ekg2/_metadata/version b/homebrew/ekg2/_metadata/version new file mode 100644 index 000000000..9e11b32fc --- /dev/null +++ b/homebrew/ekg2/_metadata/version @@ -0,0 +1 @@ +0.3.1 diff --git a/homebrew/ekg2/download.sh b/homebrew/ekg2/download.sh new file mode 100755 index 000000000..c9303bfb7 --- /dev/null +++ b/homebrew/ekg2/download.sh @@ -0,0 +1 @@ +wget https://src.fedoraproject.org/lookaside/extras/ekg2/ekg2-0.3.1.tar.gz/68fc05b432c34622df6561eaabef5a40/ekg2-0.3.1.tar.gz || wget https://web.archive.org/web/20161227025528/pl.ekg2.org/ekg2-0.3.1.tar.gz
\ No newline at end of file diff --git a/homebrew/ekg2/patches.sh b/homebrew/ekg2/patches.sh new file mode 100755 index 000000000..0dac5c55b --- /dev/null +++ b/homebrew/ekg2/patches.sh @@ -0,0 +1,75 @@ +echo 'Creating brew-patch.diff' +cat << EOF >> brew-patch.diff +diff --git a/compat/strlcat.c b/compat/strlcat.c +index 6077d66..c1c1804 100644 +--- a/compat/strlcat.c ++++ b/compat/strlcat.c +@@ -14,7 +14,7 @@ + * License along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + */ +- ++#ifndef strlcat + #include <sys/types.h> + + size_t strlcat(char *dst, const char *src, size_t size) +@@ -39,7 +39,7 @@ size_t strlcat(char *dst, const char *src, size_t size) + + return dlen + j; + } +- ++#endif + /* + * Local Variables: + * mode: c +diff --git a/compat/strlcat.h b/compat/strlcat.h +index cb91fcb..df8f4b0 100644 +--- a/compat/strlcat.h ++++ b/compat/strlcat.h +@@ -1,7 +1,8 @@ ++#ifndef strlcat + #include <sys/types.h> + + size_t strlcat(char *dst, const char *src, size_t size); +- ++#endif + /* + * Local Variables: + * mode: c +diff --git a/compat/strlcpy.c b/compat/strlcpy.c +index 31e41bd..4a40762 100644 +--- a/compat/strlcpy.c ++++ b/compat/strlcpy.c +@@ -14,7 +14,7 @@ + * License along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + */ +- ++#ifndef strlcpy + #include <sys/types.h> + + size_t strlcpy(char *dst, const char *src, size_t size) +@@ -32,7 +32,7 @@ size_t strlcpy(char *dst, const char *src, size_t size) + + return i; + } +- ++#endif + /* + * Local Variables: + * mode: c +diff --git a/compat/strlcpy.h b/compat/strlcpy.h +index 1c80e20..93340af 100644 +--- a/compat/strlcpy.h ++++ b/compat/strlcpy.h +@@ -1,7 +1,8 @@ ++#ifndef strlcpy + #include <sys/types.h> + + size_t strlcpy(char *dst, const char *src, size_t size); +- ++#endif + /* + * Local Variables: + * mode: c +EOF |