summaryrefslogtreecommitdiff
path: root/homebrew/mongocxxdriver/.make.sh-auto
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/mongocxxdriver/.make.sh-auto')
-rw-r--r--homebrew/mongocxxdriver/.make.sh-auto6
1 files changed, 6 insertions, 0 deletions
diff --git a/homebrew/mongocxxdriver/.make.sh-auto b/homebrew/mongocxxdriver/.make.sh-auto
new file mode 100644
index 000000000..5d3e65a67
--- /dev/null
+++ b/homebrew/mongocxxdriver/.make.sh-auto
@@ -0,0 +1,6 @@
+pkg:setup
+mongo_c_prefix = Formula["mongo-c-driver"].opt_prefix
+cmake . -DCMAKE_TOOLCHAIN_FILE=${CMAKE_TOOLCHAIN_FILE} -DLIBBSON_DIR=#{mongo_c_prefix} -DLIBMONGOC_DIR=#{mongo_c_prefix}
+make
+make DESTDIR=${PKG_DEST} install
+pkgshare.install "examples"