xapian-full-alaveteli 1.2.9 → 1.2.9.1
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +4 -10
- data/xapian-full.gemspec +2 -2
- metadata +4 -3
data/Rakefile
CHANGED
@@ -9,7 +9,6 @@ end
|
|
9
9
|
ver = '1.2.9'
|
10
10
|
core = "xapian-core-#{ver}"
|
11
11
|
bindings = "xapian-bindings-#{ver}"
|
12
|
-
xapian_config = "#{Dir.pwd}/#{core}/xapian-config"
|
13
12
|
|
14
13
|
task :default do
|
15
14
|
[core,bindings].each do |x|
|
@@ -18,25 +17,20 @@ task :default do
|
|
18
17
|
|
19
18
|
prefix = Dir.pwd
|
20
19
|
|
21
|
-
system! "mkdir -p lib"
|
22
|
-
|
23
20
|
Dir.chdir core do
|
24
21
|
system! "./configure --prefix=#{prefix} --exec-prefix=#{prefix}"
|
25
|
-
ENV['LDFLAGS'] = "-R#{prefix}/lib"
|
26
22
|
system! "make clean all"
|
27
|
-
|
28
|
-
system! "cp -RL .libs/* ../lib/"
|
23
|
+
system! "make install"
|
29
24
|
end
|
30
25
|
|
31
26
|
Dir.chdir bindings do
|
32
27
|
ENV['RUBY'] ||= "#{c['bindir']}/#{c['RUBY_INSTALL_NAME']}"
|
33
|
-
ENV['XAPIAN_CONFIG'] =
|
28
|
+
ENV['XAPIAN_CONFIG'] = "#{prefix}/bin/xapian-config"
|
34
29
|
system! "./configure --prefix=#{prefix} --exec-prefix=#{prefix} --with-ruby"
|
35
|
-
|
36
|
-
system! "make clean all"
|
37
|
-
ENV['LDFLAGS'] = ""
|
30
|
+
system! "make clean all LDFLAGS=-Wl,-rpath,#{prefix}/lib"
|
38
31
|
end
|
39
32
|
|
40
33
|
system! "cp -RL #{bindings}/ruby/.libs/_xapian.* lib"
|
41
34
|
system! "cp #{bindings}/ruby/xapian.rb lib"
|
42
35
|
end
|
36
|
+
|
data/xapian-full.gemspec
CHANGED
@@ -2,11 +2,11 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = %q{xapian-full-alaveteli}
|
5
|
-
s.version = "1.2.9"
|
5
|
+
s.version = "1.2.9.1"
|
6
6
|
|
7
7
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
8
8
|
s.authors = ["Tom Adams", "Rich Lane", "Seb Bacon"]
|
9
|
-
s.date = %q{
|
9
|
+
s.date = %q{2012-06-01}
|
10
10
|
s.description = %q{Xapian bindings for Ruby without dependency on system Xapian library}
|
11
11
|
s.email = %q{rlane@club.cc.cmu.edu}
|
12
12
|
s.extensions = ["Rakefile"]
|
metadata
CHANGED
@@ -1,13 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: xapian-full-alaveteli
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 105
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 2
|
9
9
|
- 9
|
10
|
-
|
10
|
+
- 1
|
11
|
+
version: 1.2.9.1
|
11
12
|
platform: ruby
|
12
13
|
authors:
|
13
14
|
- Tom Adams
|
@@ -17,7 +18,7 @@ autorequire:
|
|
17
18
|
bindir: bin
|
18
19
|
cert_chain: []
|
19
20
|
|
20
|
-
date:
|
21
|
+
date: 2012-06-01 00:00:00 +01:00
|
21
22
|
default_executable:
|
22
23
|
dependencies: []
|
23
24
|
|