Skip to content
This repository
branch: master
file 18 lines (14 sloc) 0.4 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 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'

  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
Something went wrong with that request. Please try again.