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/mydumper | |
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/mydumper')
-rw-r--r-- | homebrew/mydumper/.beer | 64 | ||||
-rw-r--r-- | homebrew/mydumper/.make.sh-auto | 0 | ||||
-rw-r--r-- | homebrew/mydumper/_metadata/description | 1 | ||||
-rw-r--r-- | homebrew/mydumper/_metadata/homepage | 1 | ||||
-rw-r--r-- | homebrew/mydumper/_metadata/name | 1 | ||||
-rw-r--r-- | homebrew/mydumper/_metadata/version | 1 | ||||
-rwxr-xr-x | homebrew/mydumper/download.sh | 1 | ||||
-rwxr-xr-x | homebrew/mydumper/patches.sh | 14 |
8 files changed, 83 insertions, 0 deletions
diff --git a/homebrew/mydumper/.beer b/homebrew/mydumper/.beer new file mode 100644 index 000000000..619912d86 --- /dev/null +++ b/homebrew/mydumper/.beer @@ -0,0 +1,64 @@ +{ + "name": "Mydumper", + "description": "How MySQL DBA & support engineer would imagine ", + "url": "https://launchpad.net/mydumper/0.9/0.9.1/+download/mydumper-0.9.1.tar.gz", + "mirror": null, + "homepage": "https://launchpad.net/mydumper", + "depends": [ + { + "depend": "cmake", + "build-depend": true + }, + { + "depend": "pkg-config", + "build-depend": true + }, + { + "depend": "sphinx-doc", + "build-depend": true + }, + { + "depend": "glib", + "build-depend": false + }, + { + "depend": "mysql-client", + "build-depend": false + }, + { + "depend": "openssl", + "build-depend": false + }, + { + "depend": "pcre", + "build-depend": false + } + ], + "resource": [], + "conflicts": [], + "patches": [ + { + "url": null, + "strip": "0" + }, + { + "url": null, + "data": [ + "--- cmake/modules/FindMySQL.cmake\t2015-09-16 16:11:34.000000000 -0400\n", + "+++ cmake/modules/FindMySQL.cmake\t2015-09-16 16:10:56.000000000 -0400\n", + "@@ -84,7 +84,7 @@\n", + " )\n", + "\n", + " set(TMP_MYSQL_LIBRARIES \"\")\n", + "-set(CMAKE_FIND_LIBRARY_SUFFIXES .so .a .lib)\n", + "+set(CMAKE_FIND_LIBRARY_SUFFIXES .so .lib .dylib)\n", + " foreach(MY_LIB ${MYSQL_ADD_LIBRARIES})\n", + " find_library(\"MYSQL_LIBRARIES_${MY_LIB}\" NAMES ${MY_LIB}\n", + " HINTS\n" + ] + } + ], + "install": [], + "version": "0.9.1", + "file": "mydumper.rb" +}
\ No newline at end of file diff --git a/homebrew/mydumper/.make.sh-auto b/homebrew/mydumper/.make.sh-auto new file mode 100644 index 000000000..e69de29bb --- /dev/null +++ b/homebrew/mydumper/.make.sh-auto diff --git a/homebrew/mydumper/_metadata/description b/homebrew/mydumper/_metadata/description new file mode 100644 index 000000000..b699a28a6 --- /dev/null +++ b/homebrew/mydumper/_metadata/description @@ -0,0 +1 @@ +How MySQL DBA & support engineer would imagine diff --git a/homebrew/mydumper/_metadata/homepage b/homebrew/mydumper/_metadata/homepage new file mode 100644 index 000000000..536439532 --- /dev/null +++ b/homebrew/mydumper/_metadata/homepage @@ -0,0 +1 @@ +https://launchpad.net/mydumper diff --git a/homebrew/mydumper/_metadata/name b/homebrew/mydumper/_metadata/name new file mode 100644 index 000000000..6dbe0085b --- /dev/null +++ b/homebrew/mydumper/_metadata/name @@ -0,0 +1 @@ +Mydumper diff --git a/homebrew/mydumper/_metadata/version b/homebrew/mydumper/_metadata/version new file mode 100644 index 000000000..f374f6662 --- /dev/null +++ b/homebrew/mydumper/_metadata/version @@ -0,0 +1 @@ +0.9.1 diff --git a/homebrew/mydumper/download.sh b/homebrew/mydumper/download.sh new file mode 100755 index 000000000..c4f654097 --- /dev/null +++ b/homebrew/mydumper/download.sh @@ -0,0 +1 @@ +wget https://launchpad.net/mydumper/0.9/0.9.1/+download/mydumper-0.9.1.tar.gz
\ No newline at end of file diff --git a/homebrew/mydumper/patches.sh b/homebrew/mydumper/patches.sh new file mode 100755 index 000000000..8dab1c471 --- /dev/null +++ b/homebrew/mydumper/patches.sh @@ -0,0 +1,14 @@ +echo 'Creating brew-patch.diff' +cat << EOF >> brew-patch.diff +--- cmake/modules/FindMySQL.cmake 2015-09-16 16:11:34.000000000 -0400 ++++ cmake/modules/FindMySQL.cmake 2015-09-16 16:10:56.000000000 -0400 +@@ -84,7 +84,7 @@ + ) + + set(TMP_MYSQL_LIBRARIES "") +-set(CMAKE_FIND_LIBRARY_SUFFIXES .so .a .lib) ++set(CMAKE_FIND_LIBRARY_SUFFIXES .so .lib .dylib) + foreach(MY_LIB ${MYSQL_ADD_LIBRARIES}) + find_library("MYSQL_LIBRARIES_${MY_LIB}" NAMES ${MY_LIB} + HINTS +EOF |