2011-12-25 08:23:26 +00:00
|
|
|
class Kytea < Formula
|
2015-05-19 00:00:59 +00:00
|
|
|
desc "Toolkit for analyzing text, especially Japanese and Chinese"
|
2015-08-03 12:55:31 +00:00
|
|
|
homepage "http://www.phontron.com/kytea/"
|
|
|
|
url "http://www.phontron.com/kytea/download/kytea-0.4.7.tar.gz"
|
|
|
|
sha256 "534a33d40c4dc5421f053c71a75695c377df737169f965573175df5d2cff9f46"
|
2014-07-11 19:22:50 +00:00
|
|
|
|
2015-01-16 01:05:35 +00:00
|
|
|
bottle do
|
|
|
|
sha1 "7a04bfa95710808c1f0f26e9c384d10705ca367d" => :yosemite
|
|
|
|
sha1 "b1631db9325f7f52c54edbff0712a7b513047c9e" => :mavericks
|
|
|
|
sha1 "5d0b41f2112c6c06ec088c2fc2e32dd8c60a6790" => :mountain_lion
|
|
|
|
end
|
|
|
|
|
2014-07-02 23:08:33 +00:00
|
|
|
head do
|
2015-08-03 12:55:31 +00:00
|
|
|
url "https://github.com/neubig/kytea.git"
|
|
|
|
depends_on "autoconf" => :build
|
|
|
|
depends_on "automake" => :build
|
|
|
|
depends_on "libtool" => :build
|
2014-07-02 23:08:33 +00:00
|
|
|
end
|
2011-12-25 08:23:26 +00:00
|
|
|
|
|
|
|
def install
|
2014-07-11 19:22:50 +00:00
|
|
|
system "autoreconf", "-i" if build.head?
|
2011-12-25 08:23:26 +00:00
|
|
|
system "./configure", "--disable-dependency-tracking",
|
|
|
|
"--prefix=#{prefix}"
|
2015-08-03 12:55:31 +00:00
|
|
|
system "make", "install"
|
2011-12-25 08:23:26 +00:00
|
|
|
end
|
|
|
|
end
|