summaryrefslogtreecommitdiff
path: root/homebrew/libpulsar/.make.sh-auto
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/libpulsar/.make.sh-auto')
-rw-r--r--homebrew/libpulsar/.make.sh-auto5
1 files changed, 5 insertions, 0 deletions
diff --git a/homebrew/libpulsar/.make.sh-auto b/homebrew/libpulsar/.make.sh-auto
new file mode 100644
index 000000000..a0bdeff62
--- /dev/null
+++ b/homebrew/libpulsar/.make.sh-auto
@@ -0,0 +1,5 @@
+pkg:setup
+cd "pulsar-client-cpp"
+cmake . -DCMAKE_TOOLCHAIN_FILE=${CMAKE_TOOLCHAIN_FILE} -DBUILD_TESTS=OFF -DBUILD_PYTHON_WRAPPER=OFF -DBoost_INCLUDE_DIRS=#{Formula[boost"].include}" -DProtobuf_INCLUDE_DIR=#{Formula[protobuf"].include}" -DProtobuf_LIBRARIES=#{Formula[protobuf"].lib}/libprotobuf.dylib"
+make pulsarShared pulsarStatic
+make DESTDIR=${PKG_DEST} install