groonga 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- data/ext/rb-grn.h +1 -1
- data/extconf.rb +2 -1
- data/html/index.html +1 -1
- metadata +1 -1
data/ext/rb-grn.h
CHANGED
data/extconf.rb
CHANGED
@@ -74,6 +74,7 @@ def install_groonga_locally(major, minor, micro)
|
|
74
74
|
tar_gz = "groonga-#{major}.#{minor}.#{micro}.tar.gz"
|
75
75
|
FileUtils.mkdir_p(local_groonga_base_dir)
|
76
76
|
|
77
|
+
install_dir = local_groonga_install_dir
|
77
78
|
Dir.chdir(local_groonga_base_dir) do
|
78
79
|
url = "http://groonga.org/files/groonga/#{tar_gz}"
|
79
80
|
message("downloading %s...", url)
|
@@ -97,7 +98,7 @@ def install_groonga_locally(major, minor, micro)
|
|
97
98
|
groonga_source_dir = "groonga-#{major}.#{minor}.#{micro}"
|
98
99
|
Dir.chdir(groonga_source_dir) do
|
99
100
|
message("configuring...")
|
100
|
-
if xsystem("./configure CFLAGS='-g -O0' --prefix=#{Shellwords.escape(
|
101
|
+
if xsystem("./configure CFLAGS='-g -O0' --prefix=#{Shellwords.escape(install_dir)}")
|
101
102
|
message(" done\n")
|
102
103
|
else
|
103
104
|
message(" failed\n")
|
data/html/index.html
CHANGED