From f0b5a449eeb76b71729cd417f5beddd5cf24b4ab Mon Sep 17 00:00:00 2001 From: Dominyk Tiller Date: Wed, 4 Feb 2015 02:30:47 +0000 Subject: iojs 1.1.0 Version bump, and added the icu4c support already in Node’s devel and head versions, which match to iojs’ current releases. Closes #36518. Signed-off-by: Mike McQuaid --- Library/Formula/iojs.rb | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'Library') 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 -- cgit v1.2.3