Ryo Sugimoto
null+****@clear*****
Sun Sep 14 17:46:12 JST 2014
Ryo Sugimoto 2014-09-14 17:46:12 +0900 (Sun, 14 Sep 2014) New Revision: 12c2a021b44438a7e69772fa9ad15023e4188e2e https://github.com/groonga/heroku-groonga-builder/commit/12c2a021b44438a7e69772fa9ad15023e4188e2e Message: Add the build_kytea Modified files: Rakefile Modified: Rakefile (+19 -0) =================================================================== --- Rakefile 2014-09-14 10:47:20 +0900 (2d916a4) +++ Rakefile 2014-09-14 17:46:12 +0900 (37614f3) @@ -80,6 +80,25 @@ class GroongaBuilder client.create_release(github_groonga_repository, groonga_tag_name) end + def build_kytea + kytea_version = "0.4.6" + kytea_archive_name = "kytea-#{kytea_version}" + sh("curl", + "--silent", + "--remote-name", + "--location", + "--fail", + "http://www.phontron.com/kytea/download/#{kytea_archive_name}.tar.gz") + sh("tar", "xf", "#{kytea_archive_name}.tar.gz") + + Dir.chdir(kytea_archive_name) do + sh("./configure", + "--prefix=#{absolete_kytea_prefix}") + sh("make") + sh("make", "install") + end + end + def build_mecab download_url = "https://mecab.googlecode.com/files" mecab_version = "0.996" -------------- next part -------------- HTML����������������������������... ダウンロード