Ryo Sugimoto
null+****@clear*****
Thu Sep 25 17:49:52 JST 2014
Ryo Sugimoto 2014-09-25 17:49:52 +0900 (Thu, 25 Sep 2014) New Revision: 0dc442ce47633acb93258afcfe1d2a587b6be9ec https://github.com/groonga/heroku-groonga-builder/commit/0dc442ce47633acb93258afcfe1d2a587b6be9ec Message: Remove the build_kytea To violate the kytea dictionary license Modified files: Rakefile Modified: Rakefile (+1 -29) =================================================================== --- Rakefile 2014-09-18 19:52:06 +0900 (2590c2b) +++ Rakefile 2014-09-25 17:49:52 +0900 (d830805) @@ -15,7 +15,6 @@ class GroongaBuilder def run ensure_release - build_kytea build_mecab build_msgpack build_groonga @@ -32,14 +31,6 @@ class GroongaBuilder File.join(@top_dir, relative_install_prefix) end - def relative_kytea_prefix - File.join("vendor", "kytea") - end - - def absolute_kytea_prefix - File.join(@top_dir, relative_kytea_prefix) - end - def relative_mecab_prefix File.join("vendor", "mecab") end @@ -89,25 +80,6 @@ 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=#{absolute_kytea_prefix}") - sh("make") - sh("make", "install") - end - end - def build_mecab mecab_version = "0.996" mecab_archive_name = "mecab-#{mecab_version}" @@ -203,7 +175,7 @@ class GroongaBuilder def archive archive_name = "heroku-#{groonga_base_name}.tar.xz" - sh("tar", "cJf", archive_name, relative_install_prefix, relative_mecab_prefix, relative_kytea_prefix) + sh("tar", "cJf", archive_name, relative_install_prefix, relative_mecab_prefix) archive_name end -------------- next part -------------- HTML����������������������������...다운로드