summaryrefslogtreecommitdiff
path: root/homebrew/kitchensync
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/kitchensync')
-rw-r--r--homebrew/kitchensync/.beer35
-rw-r--r--homebrew/kitchensync/.make.sh-auto3
-rw-r--r--homebrew/kitchensync/_metadata/description1
-rw-r--r--homebrew/kitchensync/_metadata/homepage1
-rw-r--r--homebrew/kitchensync/_metadata/name1
-rw-r--r--homebrew/kitchensync/_metadata/version1
-rwxr-xr-xhomebrew/kitchensync/download.sh1
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