diff options
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/iojs.rb | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/Library/Formula/iojs.rb b/Library/Formula/iojs.rb index 817e93af9..5dedd3760 100644 --- a/Library/Formula/iojs.rb +++ b/Library/Formula/iojs.rb @@ -1,7 +1,7 @@ class Iojs < Formula homepage "https://iojs.org/" - url "https://iojs.org/dist/v1.0.4/iojs-v1.0.4.tar.xz" - sha256 "c902f5abbd59c56346680f0b4a71056c51610847b9576acf83a9c210bf664e98" + url "https://iojs.org/dist/v1.1.0/iojs-v1.1.0.tar.xz" + sha256 "2baa9b076c84c13b0572de4618ac94058fc98a87266925bcd18fb70fb7d521a7" bottle do sha1 "a88bf32209a487ed8329476325aeeed2cc5ddb33" => :yosemite @@ -12,13 +12,21 @@ class Iojs < Formula keg_only "iojs conflicts with node (which is currently more established)" option "with-debug", "Build with debugger hooks" + option "with-icu4c", "Build with Intl (icu4c) support" + depends_on "pkg-config" => :build + depends_on "icu4c" => :optional depends_on :python => :build def install args = %W[--prefix=#{prefix} --without-npm] args << "--debug" if build.with? "debug" + if build.with? "icu4c" + ENV.prepend_path "PKG_CONFIG_PATH", "#{Formula["icu4c"].opt_lib}/pkgconfig" + args << "--with-intl=system-icu" + end + system "./configure", *args system "make", "install" end |
