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/kitchensync | |
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/kitchensync')
-rw-r--r-- | homebrew/kitchensync/.beer | 35 | ||||
-rw-r--r-- | homebrew/kitchensync/.make.sh-auto | 3 | ||||
-rw-r--r-- | homebrew/kitchensync/_metadata/description | 1 | ||||
-rw-r--r-- | homebrew/kitchensync/_metadata/homepage | 1 | ||||
-rw-r--r-- | homebrew/kitchensync/_metadata/name | 1 | ||||
-rw-r--r-- | homebrew/kitchensync/_metadata/version | 1 | ||||
-rwxr-xr-x | homebrew/kitchensync/download.sh | 1 |
7 files changed, 43 insertions, 0 deletions
diff --git a/homebrew/kitchensync/.beer b/homebrew/kitchensync/.beer new file mode 100644 index 000000000..f8840781f --- /dev/null +++ b/homebrew/kitchensync/.beer @@ -0,0 +1,35 @@ +{ + "name": "KitchenSync", + "description": "Fast efficiently sync database without dumping & reloading", + "url": "https://github.com/willbryant/kitchen_sync/archive/v1.13.tar.gz", + "mirror": null, + "homepage": "https://github.com/willbryant/kitchen_sync", + "depends": [ + { + "depend": "cmake", + "build-depend": true + }, + { + "depend": "libpq", + "build-depend": false + }, + { + "depend": "mysql-client", + "build-depend": false + } + ], + "resource": [], + "conflicts": [], + "patches": [], + "install": [ + "system \"cmake\", \".\",", + "\"-DMySQL_INCLUDE_DIR=#{Formula[\"mysql-client\"].opt_include}/mysql\",", + "\"-DMySQL_LIBRARY_DIR=#{Formula[\"mysql-client\"].opt_lib}\",", + "\"-DPostgreSQL_INCLUDE_DIR=#{Formula[\"libpq\"].opt_include}\",", + "\"-DPostgreSQL_LIBRARY_DIR=#{Formula[\"libpq\"].opt_lib}\",", + "*std_cmake_args", + "system \"make\", \"install\"" + ], + "version": "1.13", + "file": "kitchen-sync.rb" +}
\ No newline at end of file diff --git a/homebrew/kitchensync/.make.sh-auto b/homebrew/kitchensync/.make.sh-auto new file mode 100644 index 000000000..beffa711f --- /dev/null +++ b/homebrew/kitchensync/.make.sh-auto @@ -0,0 +1,3 @@ +pkg:setup +cmake . -DMySQL_INCLUDE_DIR=#{Formula[mysql-client"].opt_include}/mysql" -DMySQL_LIBRARY_DIR=#{Formula[mysql-client"].opt_lib}" -DPostgreSQL_INCLUDE_DIR=#{Formula[libpq"].opt_include}" -DPostgreSQL_LIBRARY_DIR=#{Formula[libpq"].opt_lib}" -DCMAKE_TOOLCHAIN_FILE=${CMAKE_TOOLCHAIN_FILE} +make DESTDIR=${PKG_DEST} install diff --git a/homebrew/kitchensync/_metadata/description b/homebrew/kitchensync/_metadata/description new file mode 100644 index 000000000..83d69e648 --- /dev/null +++ b/homebrew/kitchensync/_metadata/description @@ -0,0 +1 @@ +Fast efficiently sync database without dumping & reloading diff --git a/homebrew/kitchensync/_metadata/homepage b/homebrew/kitchensync/_metadata/homepage new file mode 100644 index 000000000..1fd3f6915 --- /dev/null +++ b/homebrew/kitchensync/_metadata/homepage @@ -0,0 +1 @@ +https://github.com/willbryant/kitchen_sync diff --git a/homebrew/kitchensync/_metadata/name b/homebrew/kitchensync/_metadata/name new file mode 100644 index 000000000..08df18f92 --- /dev/null +++ b/homebrew/kitchensync/_metadata/name @@ -0,0 +1 @@ +KitchenSync diff --git a/homebrew/kitchensync/_metadata/version b/homebrew/kitchensync/_metadata/version new file mode 100644 index 000000000..d3456a90f --- /dev/null +++ b/homebrew/kitchensync/_metadata/version @@ -0,0 +1 @@ +1.13 diff --git a/homebrew/kitchensync/download.sh b/homebrew/kitchensync/download.sh new file mode 100755 index 000000000..3ceeb07fc --- /dev/null +++ b/homebrew/kitchensync/download.sh @@ -0,0 +1 @@ +wget https://github.com/willbryant/kitchen_sync/archive/v1.13.tar.gz
\ No newline at end of file |