re2 20150801
Closes Homebrew/homebrew#44431. Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
This commit is contained in:
parent
4f119f6eb8
commit
6165cd7a8d
1 changed files with 3 additions and 16 deletions
|
@ -3,21 +3,9 @@ class Re2 < Formula
|
|||
homepage "https://github.com/google/re2"
|
||||
|
||||
stable do
|
||||
url "https://github.com/google/re2/archive/2015-07-01.tar.gz"
|
||||
version "20150701"
|
||||
sha256 "e32d6dfa48d882a81086ae26537dc2e78877bb427f61c8cd4062dff7d0b0ef08"
|
||||
# Fix the symbol table to work with both libc++ and libstdc++
|
||||
# Will be included in the next release
|
||||
# https://github.com/google/re2/issues/1
|
||||
patch do
|
||||
url "https://github.com/google/re2/commit/44cdc782e5debc2c841b3fafa9ee5a61e8c42b95.patch"
|
||||
sha256 "b1720a4f3dd0b28969600698b1aadf15bf30b9e6aef42c589d512c6a2c088579"
|
||||
end
|
||||
|
||||
patch do
|
||||
url "https://github.com/google/re2/commit/a99f38705611f678f70b7e1944d188a3c28a12ab.patch"
|
||||
sha256 "22dac0b90f34b8fa693994831d1ea24b0d2f8fe49e404975a507ed744fb1de83"
|
||||
end
|
||||
url "https://github.com/google/re2/archive/2015-08-01.tar.gz"
|
||||
version "20150801"
|
||||
sha256 "0fd7388097dcc7b26a8fc7c4e704e2831d264015818fa3f13665f36d40afabf8"
|
||||
end
|
||||
|
||||
head "https://github.com/google/re2.git"
|
||||
|
@ -31,7 +19,6 @@ class Re2 < Formula
|
|||
|
||||
def install
|
||||
system "make", "install", "prefix=#{prefix}"
|
||||
mv lib/"libre2.so.0.0.0", lib/"libre2.0.0.0.dylib" if build.stable?
|
||||
system "install_name_tool", "-id", "#{lib}/libre2.0.dylib", "#{lib}/libre2.0.0.0.dylib"
|
||||
lib.install_symlink "libre2.0.0.0.dylib" => "libre2.0.dylib"
|
||||
lib.install_symlink "libre2.0.0.0.dylib" => "libre2.dylib"
|
||||
|
|
Loading…
Reference in a new issue