Last active
October 30, 2019 11:48
-
-
Save lightsuner/dba8c40ca609be32f35e3cf961490dac to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Icu4cAT63 < Formula | |
desc "C/C++ and Java libraries for Unicode and globalization" | |
homepage "https://ssl.icu-project.org/" | |
url "https://ssl.icu-project.org/files/icu4c/63.1/icu4c-63_1-src.tgz" | |
mirror "https://github.com/unicode-org/icu/releases/download/release-63-1/icu4c-63_1-src.tgz" | |
version "63.1" | |
sha256 "05c490b69454fce5860b7e8e2821231674af0a11d7ef2febea9a32512998cb9d" | |
bottle do | |
cellar :any | |
sha256 "e707bf5e3d0189ede7d941d95a417b5dacad3eac99b9a677042464140f12fa1d" => :mojave | |
sha256 "0ac5ee60393d26ec26a915ed957a38a0b2355fe7991f607044edaedd3ff14cc1" => :high_sierra | |
sha256 "dd64c70639ba91fe0c07304c0563681ba97b221e9f9919497b383884b8bb0b65" => :sierra | |
end | |
keg_only :provided_by_macos, "macOS provides libicucore.dylib (but nothing else)" | |
def install | |
args = %W[ | |
--prefix=#{prefix} | |
--disable-samples | |
--disable-tests | |
--enable-static | |
--with-library-bits=64 | |
] | |
cd "source" do | |
system "./configure", *args | |
system "make" | |
system "make", "install" | |
end | |
end | |
test do | |
system "#{bin}/gendict", "--uchars", "/usr/share/dict/words", "dict" | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment