summaryrefslogtreecommitdiff
path: root/homebrew/ssdb/.make.sh-auto
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/ssdb/.make.sh-auto')
-rw-r--r--homebrew/ssdb/.make.sh-auto6
1 files changed, 6 insertions, 0 deletions
diff --git a/homebrew/ssdb/.make.sh-auto b/homebrew/ssdb/.make.sh-auto
new file mode 100644
index 000000000..a85ee495d
--- /dev/null
+++ b/homebrew/ssdb/.make.sh-auto
@@ -0,0 +1,6 @@
+pkg:setup
+inreplace "tools/ssdb-cli", /^DIR=.*$/, "DIR=#{prefix}"
+make CC=${PKG_TARG}-clang CXX=${PKG_TARG}-clang++
+make DESTDIR=${PKG_DEST} install PREFIX=${PKG_TAPF}
+%w[bench cli dump repair server].each do |suffix|
+bin.install "#{prefix}/ssdb-#{suffix}"