aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/opencc.rb
diff options
context:
space:
mode:
authorCarbo Kuo2014-10-18 18:51:03 +0200
committerJack Nagel2014-12-12 11:22:13 -0500
commit237b5b076a50bc0c3f0e79021a07b4c9b80c04ae (patch)
tree0e03569e15890d1594c480283e33a0306fc3e2af /Library/Formula/opencc.rb
parentf3c514f4aa53b384904b2ccce479a8ab1354c861 (diff)
downloadhomebrew-237b5b076a50bc0c3f0e79021a07b4c9b80c04ae.tar.bz2
opencc 1.0.1
Closes #33318. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula/opencc.rb')
-rw-r--r--Library/Formula/opencc.rb9
1 files changed, 6 insertions, 3 deletions
diff --git a/Library/Formula/opencc.rb b/Library/Formula/opencc.rb
index 615350ac1..877c37dd6 100644
--- a/Library/Formula/opencc.rb
+++ b/Library/Formula/opencc.rb
@@ -2,14 +2,17 @@ require 'formula'
class Opencc < Formula
homepage 'https://github.com/BYVoid/OpenCC'
- url 'https://opencc.googlecode.com/files/opencc-0.4.3.tar.gz'
- sha1 '4677e63fa36fb2b92a52c01df2acc83664aaf882'
+ url 'http://dl.bintray.com/byvoid/opencc/opencc-1.0.1.tar.gz'
+ sha1 'e5cdedef5d9d96f5046a0f44f3004611330ded4a'
depends_on 'cmake' => :build
+ needs :cxx11
+
def install
+ ENV.cxx11
args = std_cmake_args
- args << '-DENABLE_GETTEXT:BOOL=OFF'
+ args << '-DBUILD_DOCUMENTATION:BOOL=OFF'
system 'cmake', '.', *args
system 'make'
system 'make install'