aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorChilledheart2014-12-12 16:10:37 +0800
committerMike McQuaid2014-12-12 09:51:33 +0000
commit54d8b5efd7c825271bd3c1d28068693fef8948c5 (patch)
tree5630e4a5faa49b134b0fa89c42881be5bead330d /Library/Formula
parent703cb881baf0291d4371141826f912ad216603e4 (diff)
downloadhomebrew-54d8b5efd7c825271bd3c1d28068693fef8948c5.tar.bz2
leveldb 1.18
Closes #34915. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/leveldb.rb29
1 files changed, 14 insertions, 15 deletions
diff --git a/Library/Formula/leveldb.rb b/Library/Formula/leveldb.rb
index 1b6df4908..120db9215 100644
--- a/Library/Formula/leveldb.rb
+++ b/Library/Formula/leveldb.rb
@@ -1,10 +1,9 @@
-require 'formula'
+require "formula"
class Leveldb < Formula
- homepage 'https://code.google.com/p/leveldb/'
- url 'https://leveldb.googlecode.com/files/leveldb-1.15.0.tar.gz'
- sha1 '74b70a1156d91807d8d84bfdd026e0bb5acbbf23'
- revision 1
+ homepage "https://github.com/google/leveldb/"
+ url "https://github.com/google/leveldb/archive/v1.18.tar.gz"
+ sha1 "18684a0ad7a07920d10f5295b171fbf5eeec7337"
bottle do
cellar :any
@@ -13,18 +12,18 @@ class Leveldb < Formula
sha1 "48adc08cdfc9c156a045913ce338e9f82262d2d4" => :lion
end
- depends_on 'snappy'
+ depends_on "snappy"
def install
- system 'make'
- system 'make', 'leveldbutil'
+ system "make"
+ system "make", "leveldbutil"
- include.install 'include/leveldb'
- bin.install 'leveldbutil'
- lib.install 'libleveldb.a'
- lib.install 'libleveldb.dylib.1.15' => 'libleveldb.1.15.dylib'
- lib.install_symlink lib/'libleveldb.1.15.dylib' => 'libleveldb.dylib'
- lib.install_symlink lib/'libleveldb.1.15.dylib' => 'libleveldb.1.dylib'
- system "install_name_tool", "-id", "#{lib}/libleveldb.1.dylib", "#{lib}/libleveldb.1.15.dylib"
+ include.install "include/leveldb"
+ bin.install "leveldbutil"
+ lib.install "libleveldb.a"
+ lib.install "libleveldb.dylib.1.18" => "libleveldb.1.18.dylib"
+ lib.install_symlink lib/"libleveldb.1.18.dylib" => "libleveldb.dylib"
+ lib.install_symlink lib/"libleveldb.1.18.dylib" => "libleveldb.1.dylib"
+ system "install_name_tool", "-id", "#{lib}/libleveldb.1.dylib", "#{lib}/libleveldb.1.18.dylib"
end
end