aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorHarald Fernengel2013-02-04 20:17:11 +0100
committerJack Nagel2013-02-04 14:35:32 -0600
commitc9ce32d638bb2d0ad0d86f86bc0a08d45b0e8830 (patch)
tree41077de7ad445df55af9243989539e2f292896bb /Library
parent3715bfec4da26b00441c688799b6bf94adb61235 (diff)
downloadhomebrew-c9ce32d638bb2d0ad0d86f86bc0a08d45b0e8830.tar.bz2
leveldb: also build the leveldbutil
The tool is really useful to dump the contents of leveldb databases Closes #17581. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/leveldb.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/Library/Formula/leveldb.rb b/Library/Formula/leveldb.rb
index e51cb4a5b..4a9cb8263 100644
--- a/Library/Formula/leveldb.rb
+++ b/Library/Formula/leveldb.rb
@@ -9,7 +9,9 @@ class Leveldb < Formula
def install
system "make"
+ system "make leveldbutil"
include.install "include/leveldb"
+ bin.install 'leveldbutil'
lib.install 'libleveldb.a'
lib.install 'libleveldb.dylib.1.9' => 'libleveldb.1.9.dylib'
lib.install_symlink lib/'libleveldb.1.9.dylib' => 'libleveldb.dylib'