libphonenumber: revision for icu4c

set ENV.cxx11
This commit is contained in:
ilovezfs 2017-08-12 06:33:51 -07:00
parent 25694fd7b6
commit 28a54e651c

View file

@ -3,6 +3,7 @@ class Libphonenumber < Formula
homepage "https://github.com/googlei18n/libphonenumber"
url "https://github.com/googlei18n/libphonenumber/archive/v8.7.1.tar.gz"
sha256 "8cca5c2375a91b64178d07008f02e6fc54e2bb7b24fbedc4fc6df1769c3cee4f"
revision 1
bottle do
cellar :any
@ -23,7 +24,10 @@ class Libphonenumber < Formula
sha256 "58a6f4277ca2bc8565222b3bbd58a177609e9c488e8a72649359ba51450db7d8"
end
needs :cxx11
def install
ENV.cxx11
(buildpath/"gtest").install resource("gtest")
system "cmake", "cpp", "-DGTEST_SOURCE_DIR=gtest/googletest",
"-DGTEST_INCLUDE_DIR=gtest/googletest/include",