bio-samtools 0.2.3 → 0.2.4

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.3
1
+ 0.2.4
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{bio-samtools}
8
- s.version = "0.2.3"
8
+ s.version = "0.2.4"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Ricardo Ramirez-Gonzalez", "Dan MacLean", "Raoul J.P. Bonnal"]
@@ -36,14 +36,16 @@ end
36
36
  task :compile do
37
37
  sh "tar xvfj #{SamToolsFile}"
38
38
  cd("samtools-#{Version}") do
39
- cp("libbam.a","#{path_external}")
39
+
40
40
  case Config::CONFIG['host_os']
41
41
  when /linux/
42
42
  sh "CFLAGS='-g -Wall -O2 -fPIC' make -e"
43
+ cp("libbam.a","#{path_external}")
43
44
  sh "CFLAGS='-g -Wall -O2 -fPIC' make -e libbam.so.1-local"
44
45
  cp("libbam.so.1","#{path_external}")
45
46
  when /darwin/
46
47
  sh "make"
48
+ cp("libbam.a","#{path_external}")
47
49
  sh "make libbam.1.dylib-local"
48
50
  cp("libbam.1.dylib","#{path_external}")
49
51
  when /mswin|mingw/ then raise NotImplementedError, "BWA library is not available for Windows platform"
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: bio-samtools
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.2.3
5
+ version: 0.2.4
6
6
  platform: ruby
7
7
  authors:
8
8
  - Ricardo Ramirez-Gonzalez
@@ -175,7 +175,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
175
175
  requirements:
176
176
  - - ">="
177
177
  - !ruby/object:Gem::Version
178
- hash: 1413941539923887272
178
+ hash: 4574073522320784931
179
179
  segments:
180
180
  - 0
181
181
  version: "0"