summaryrefslogtreecommitdiff
path: root/homebrew/libcouchbase
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/libcouchbase')
-rw-r--r--homebrew/libcouchbase/.beer43
-rw-r--r--homebrew/libcouchbase/.make.sh-auto4
-rw-r--r--homebrew/libcouchbase/_metadata/description1
-rw-r--r--homebrew/libcouchbase/_metadata/homepage1
-rw-r--r--homebrew/libcouchbase/_metadata/name1
-rw-r--r--homebrew/libcouchbase/_metadata/version1
-rwxr-xr-xhomebrew/libcouchbase/download.sh1
7 files changed, 52 insertions, 0 deletions
diff --git a/homebrew/libcouchbase/.beer b/homebrew/libcouchbase/.beer
new file mode 100644
index 000000000..5d31f3133
--- /dev/null
+++ b/homebrew/libcouchbase/.beer
@@ -0,0 +1,43 @@
+{
+ "name": "Libcouchbase",
+ "description": "C library for Couchbase",
+ "url": "https://packages.couchbase.com/clients/c/libcouchbase-2.10.3.tar.gz",
+ "mirror": null,
+ "homepage": "https://docs.couchbase.com/c-sdk/2.10/start-using-sdk.html",
+ "depends": [
+ {
+ "depend": "cmake",
+ "build-depend": true
+ },
+ {
+ "depend": "libev",
+ "build-depend": false
+ },
+ {
+ "depend": "libevent",
+ "build-depend": false
+ },
+ {
+ "depend": "libuv",
+ "build-depend": false
+ },
+ {
+ "depend": "openssl",
+ "build-depend": false
+ }
+ ],
+ "resource": [],
+ "conflicts": [],
+ "patches": [],
+ "install": [
+ "mkdir \"build\" do",
+ "system \"cmake\", \"..\", *std_cmake_args,",
+ "\"-DLCB_NO_TESTS=1\",",
+ "\"-DLCB_BUILD_LIBEVENT=ON\",",
+ "\"-DLCB_BUILD_LIBEV=ON\",",
+ "\"-DLCB_BUILD_LIBUV=ON\"",
+ "system \"make\", \"install\""
+ ],
+ "version": "2.10.3",
+ "file": "libcouchbase.rb"
+} \ No newline at end of file
diff --git a/homebrew/libcouchbase/.make.sh-auto b/homebrew/libcouchbase/.make.sh-auto
new file mode 100644
index 000000000..f409e90a0
--- /dev/null
+++ b/homebrew/libcouchbase/.make.sh-auto
@@ -0,0 +1,4 @@
+pkg:setup
+mkdir "build" && cd build
+cmake .. -DCMAKE_TOOLCHAIN_FILE=${CMAKE_TOOLCHAIN_FILE} -DLCB_NO_TESTS=1 -DLCB_BUILD_LIBEVENT=ON -DLCB_BUILD_LIBEV=ON -DLCB_BUILD_LIBUV=ON
+make DESTDIR=${PKG_DEST} install
diff --git a/homebrew/libcouchbase/_metadata/description b/homebrew/libcouchbase/_metadata/description
new file mode 100644
index 000000000..c3bc54184
--- /dev/null
+++ b/homebrew/libcouchbase/_metadata/description
@@ -0,0 +1 @@
+C library for Couchbase
diff --git a/homebrew/libcouchbase/_metadata/homepage b/homebrew/libcouchbase/_metadata/homepage
new file mode 100644
index 000000000..d996c5ff5
--- /dev/null
+++ b/homebrew/libcouchbase/_metadata/homepage
@@ -0,0 +1 @@
+https://docs.couchbase.com/c-sdk/2.10/start-using-sdk.html
diff --git a/homebrew/libcouchbase/_metadata/name b/homebrew/libcouchbase/_metadata/name
new file mode 100644
index 000000000..db2421ebd
--- /dev/null
+++ b/homebrew/libcouchbase/_metadata/name
@@ -0,0 +1 @@
+Libcouchbase
diff --git a/homebrew/libcouchbase/_metadata/version b/homebrew/libcouchbase/_metadata/version
new file mode 100644
index 000000000..5f4f65c85
--- /dev/null
+++ b/homebrew/libcouchbase/_metadata/version
@@ -0,0 +1 @@
+2.10.3
diff --git a/homebrew/libcouchbase/download.sh b/homebrew/libcouchbase/download.sh
new file mode 100755
index 000000000..966205189
--- /dev/null
+++ b/homebrew/libcouchbase/download.sh
@@ -0,0 +1 @@
+wget https://packages.couchbase.com/clients/c/libcouchbase-2.10.3.tar.gz \ No newline at end of file