homebrew-core/Formula/opencc.rb
Jack Nagel c7630f5ff4 Use new std_cmake_args method
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-05-22 22:22:00 -05:00

17 lines
390 B
Ruby

require 'formula'
class Opencc < Formula
url 'http://opencc.googlecode.com/files/opencc-0.3.0.tar.gz'
homepage 'http://code.google.com/p/opencc/'
md5 '84462870e5d491da24bb33a5fb494911'
depends_on 'cmake' => :build
def install
args = std_cmake_args
args << '-DENABLE_GETTEXT:BOOL=OFF'
system 'cmake', '.', *args
system 'make'
system 'make install'
end
end