[Groonga-commit] pgroonga/pgroonga at 7ca9443 [master] Build from downloaded source

Back to archive index

Kouhei Sutou null+****@clear*****
Fri May 29 15:31:40 JST 2015


Kouhei Sutou	2015-05-29 15:31:40 +0900 (Fri, 29 May 2015)

  New Revision: 7ca9443cb5a24ebf705b1d5e532469f1e8bccae6
  https://github.com/pgroonga/pgroonga/commit/7ca9443cb5a24ebf705b1d5e532469f1e8bccae6

  Message:
    Build from downloaded source

  Modified files:
    Rakefile

  Modified: Rakefile (+12 -1)
===================================================================
--- Rakefile    2015-05-29 15:23:59 +0900 (c4ddfd7)
+++ Rakefile    2015-05-29 15:31:40 +0900 (36793d7)
@@ -396,8 +396,19 @@ postgresql-server-dev-9.4
             "#{windows_postgresql_download_base}/#{windows_postgresql_archive_name}"
           download(windows_postgresql_url, ".")
           extract_zip(windows_postgresql_archive_name, ".")
+
+          windows_pgroonga_source_name_base = "#{package}-#{version}"
+          windows_pgroonga_source_name =
+            "#{windows_pgroonga_source_name_base}.zip"
+          windows_pgroonga_source_url_base =
+            "http://packages.groonga.org/source/#{package}"
+          windows_pgroonga_source_url =
+            "#{windows_pgroonga_source_url_base}/#{windows_pgroonga_source_name}"
+          download(windows_groonga_source_url, ".")
+          extract_zip(windows_pgroonga_source_name, ".")
+
           sh("cmake",
-             "..",
+             windows_pgroonga_source_name_base,
              "-G", cmake_generator,
              "-DCMAKE_INSTALL_PREFIX=pgsql",
              "-DPGRN_POSTGRESQL_VERSION=#{windows_postgresql_version}")
-------------- next part --------------
HTML����������������������������...
Download 



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