[Groonga-commit] groonga/heroku-groonga-builder at 2e1948e [master] Add the naist_jdic

Back to archive index

Ryo Sugimoto null+****@clear*****
Mon Sep 15 08:21:30 JST 2014


Ryo Sugimoto	2014-09-15 08:21:30 +0900 (Mon, 15 Sep 2014)

  New Revision: 2e1948ed3d39f0fd53672c96ac99e78687c96cac
  https://github.com/groonga/heroku-groonga-builder/commit/2e1948ed3d39f0fd53672c96ac99e78687c96cac

  Merged 295f173: Merge branch 'build_mecab' of github.com:groonga/heroku-groonga-builder into build-mecab

  Message:
    Add the naist_jdic

  Modified files:
    Rakefile

  Modified: Rakefile (+18 -0)
===================================================================
--- Rakefile    2014-09-15 08:07:27 +0900 (476c871)
+++ Rakefile    2014-09-15 08:21:30 +0900 (213a8e6)
@@ -126,6 +126,24 @@ class GroongaBuilder
       sh("make", "check")
       sh("make", "install")
     end
+
+    naist_jdic_version = "0.43"
+    naist_jdic_archive_name = "naist-jdic-#{naist_jdic_version}"
+    sh("curl",
+       "--silent",
+       "--remote-name",
+       "--location",
+       "--fail",
+       "http://iij.dl.sourceforge.jp/naist-jdic/31880/#{naist_jdic_archive_name}.tar.gz")
+    sh("tar", "xf", "#{naist_jdic_archive_name}.tar.gz")
+
+    Dir.chdir(naist_jdic_archive_name) do
+      sh("./configure",
+	 "--prefix=#{absolete_mecab_prefix}",
+	 "--with-mecab-config=#{mecab_config}")
+      sh("make")
+      sh("make", "install")
+    end
   end
 
   def build_msgpack
-------------- next part --------------
HTML����������������������������...
다운로드 



More information about the Groonga-commit mailing list
Back to archive index