diff options
| author | Brett Koonce | 2013-05-22 16:01:39 -0500 |
|---|---|---|
| committer | Adam Vandenberg | 2013-05-22 15:19:19 -0700 |
| commit | e89164d1fa35ef1ceb74565540a126198883abcc (patch) | |
| tree | fdc9d8255fcdd90f61139fc4b27776f12b3f02cf /Library/Formula | |
| parent | b9bc55d0e450d2bd3db459606e4775a43c2bfef7 (diff) | |
| download | homebrew-e89164d1fa35ef1ceb74565540a126198883abcc.tar.bz2 | |
leveldb 1.10.0
stripped patch, seems to work, can't find confirmation bug was resolved upstream
Closes #20002.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/leveldb.rb | 34 |
1 files changed, 5 insertions, 29 deletions
diff --git a/Library/Formula/leveldb.rb b/Library/Formula/leveldb.rb index 64cc61c5e..2f28b743c 100644 --- a/Library/Formula/leveldb.rb +++ b/Library/Formula/leveldb.rb @@ -2,43 +2,19 @@ require 'formula' class Leveldb < Formula homepage 'https://code.google.com/p/leveldb/' - url 'https://leveldb.googlecode.com/files/leveldb-1.9.0.tar.gz' - sha1 '4d832277120912211998a2334fb975b995d51885' + url 'https://leveldb.googlecode.com/files/leveldb-1.10.0.tar.gz' + sha1 'd5b234658138d07f6edc2de24e01d9b0585c03cb' depends_on 'snappy' => :build - # tcmalloc causes segfault during linking on OSX - # https://code.google.com/p/leveldb/issues/detail?id=131 - def patches - DATA - end - 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' - lib.install_symlink lib/'libleveldb.1.9.dylib' => 'libleveldb.1.dylib' + lib.install 'libleveldb.dylib.1.10' => 'libleveldb.1.10.dylib' + lib.install_symlink lib/'libleveldb.1.10.dylib' => 'libleveldb.dylib' + lib.install_symlink lib/'libleveldb.1.10.dylib' => 'libleveldb.1.dylib' end end - -__END__ ---- a/build_detect_platform 2013-01-07 16:07:29.000000000 -0500 -+++ b/build_detect_platform 2013-02-16 14:28:06.000000000 -0500 -@@ -178,13 +178,6 @@ - PLATFORM_LIBS="$PLATFORM_LIBS -lsnappy" - fi - -- # Test whether tcmalloc is available -- $CXX $CXXFLAGS -x c++ - -o /dev/null -ltcmalloc 2>/dev/null <<EOF -- int main() {} --EOF -- if [ "$?" = 0 ]; then -- PLATFORM_LIBS="$PLATFORM_LIBS -ltcmalloc" -- fi - fi - - PLATFORM_CCFLAGS="$PLATFORM_CCFLAGS $COMMON_FLAGS" |
