diff options
| author | Dominyk Tiller | 2015-02-04 02:30:47 +0000 |
|---|---|---|
| committer | Mike McQuaid | 2015-02-04 11:16:00 +0000 |
| commit | f0b5a449eeb76b71729cd417f5beddd5cf24b4ab (patch) | |
| tree | b6adce6d8a441a7a9934283721079127ffc6aa08 /Library/Formula/iojs.rb | |
| parent | 816f04e780614badcc19bb38e94d57f104f0e703 (diff) | |
| download | homebrew-f0b5a449eeb76b71729cd417f5beddd5cf24b4ab.tar.bz2 | |
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 <mike@mikemcquaid.com>
Diffstat (limited to 'Library/Formula/iojs.rb')
| -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 |
