melisa 0.2.3 → 0.2.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/melisa +1 -1
- data/ext/extconf.rb +1 -2
- data/lib/melisa/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3f5df7573071bbf906b70c67f96dead5a58490a5
|
4
|
+
data.tar.gz: df39a85b6d94851a2c1fbbdc2d024dbc62350322
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 82cfd0158c90a1efbabf44aa81dbb65554b55e2d31a5ff2b56997c4498c6a7c3497469ff60c5a11cd4abb7328df47df856ee9753bcbc8ce08d9b8e430620d5d0
|
7
|
+
data.tar.gz: 2824e0f0eb7b72ddf91864941d1116439600cf1e1e331b4df35e0bac1e7a071eb53a9e42ff702134c78071b8278cbc409b55c1dfe5ae3f10736be8b73fe77aae
|
data/bin/melisa
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
2
|
require 'open3'
|
3
3
|
|
4
|
-
BIN_PATH = File.join(File.dirname(__FILE__), '..', 'ext', '
|
4
|
+
BIN_PATH = File.join(File.dirname(__FILE__), '..', 'ext', 'pkg', 'bin')
|
5
5
|
|
6
6
|
available_commands = %w(lookup reverse-lookup predictive-search benchmark build common-prefix-search dump)
|
7
7
|
|
data/ext/extconf.rb
CHANGED
@@ -18,12 +18,11 @@ if `which make`.strip.empty?
|
|
18
18
|
end
|
19
19
|
|
20
20
|
MARISA_ROOT = File.expand_path(File.join(File.dirname(__FILE__), "marisa-0.2.4"))
|
21
|
-
PREFIX = File.join(
|
21
|
+
PREFIX = File.expand_path(File.join(File.dirname(__FILE__), "pkg"))
|
22
22
|
|
23
23
|
FileUtils.cd(MARISA_ROOT) do
|
24
24
|
sys "./configure --enable-sse3 --prefix='#{PREFIX}'"
|
25
25
|
sys "make install"
|
26
|
-
sys "make distclean"
|
27
26
|
end
|
28
27
|
|
29
28
|
$CFLAGS << " -I#{File.join(PREFIX, 'include')}"
|
data/lib/melisa/version.rb
CHANGED