opencc 1.0.2
This commit is contained in:
parent
ef2d13629e
commit
eaef86dbdb
1 changed files with 8 additions and 13 deletions
|
@ -1,26 +1,21 @@
|
||||||
require 'formula'
|
require "formula"
|
||||||
|
|
||||||
class Opencc < Formula
|
class Opencc < Formula
|
||||||
homepage 'https://github.com/BYVoid/OpenCC'
|
homepage "https://github.com/BYVoid/OpenCC"
|
||||||
url 'http://dl.bintray.com/byvoid/opencc/opencc-1.0.1.tar.gz'
|
url "http://dl.bintray.com/byvoid/opencc/opencc-1.0.2.tar.gz"
|
||||||
sha1 'e5cdedef5d9d96f5046a0f44f3004611330ded4a'
|
sha1 "101b9f46aca95d2039a955572c394ca6bdb2d88d"
|
||||||
|
|
||||||
bottle do
|
bottle do
|
||||||
sha1 "8ccf8db44595debc423220a40f0fe6d715bd60ef" => :yosemite
|
|
||||||
sha1 "cb24320dd8415a6b06df2e82ae76e05f2e9396d7" => :mavericks
|
|
||||||
sha1 "98a43a46a22da47a206e0a04ab98e87990c72bbe" => :mountain_lion
|
|
||||||
end
|
end
|
||||||
|
|
||||||
depends_on 'cmake' => :build
|
depends_on "cmake" => :build
|
||||||
|
|
||||||
needs :cxx11
|
needs :cxx11
|
||||||
|
|
||||||
def install
|
def install
|
||||||
ENV.cxx11
|
ENV.cxx11
|
||||||
args = std_cmake_args
|
system "cmake", ".", "-DBUILD_DOCUMENTATION:BOOL=OFF", *std_cmake_args
|
||||||
args << '-DBUILD_DOCUMENTATION:BOOL=OFF'
|
system "make"
|
||||||
system 'cmake', '.', *args
|
system "make install"
|
||||||
system 'make'
|
|
||||||
system 'make install'
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue