summaryrefslogtreecommitdiff
path: root/homebrew/redisleveldb/.make.sh-auto
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/redisleveldb/.make.sh-auto')
-rw-r--r--homebrew/redisleveldb/.make.sh-auto5
1 files changed, 5 insertions, 0 deletions
diff --git a/homebrew/redisleveldb/.make.sh-auto b/homebrew/redisleveldb/.make.sh-auto
new file mode 100644
index 000000000..c54bb1473
--- /dev/null
+++ b/homebrew/redisleveldb/.make.sh-auto
@@ -0,0 +1,5 @@
+pkg:setup
+inreplace "src/Makefile", "../vendor/libleveldb.a", Formula["leveldb"].opt_lib+"libleveldb.a"
+ENV.prepend "LDFLAGS", "-lsnappy"
+make
+bin.install "redis-leveldb"