bio-samtools 0.2.2 → 0.2.3

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.2
1
+ 0.2.3
@@ -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.2"
8
+ s.version = "0.2.3"
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,13 +36,14 @@ end
36
36
  task :compile do
37
37
  sh "tar xvfj #{SamToolsFile}"
38
38
  cd("samtools-#{Version}") do
39
- sh "make"
40
39
  cp("libbam.a","#{path_external}")
41
40
  case Config::CONFIG['host_os']
42
41
  when /linux/
42
+ sh "CFLAGS='-g -Wall -O2 -fPIC' make -e"
43
43
  sh "CFLAGS='-g -Wall -O2 -fPIC' make -e libbam.so.1-local"
44
44
  cp("libbam.so.1","#{path_external}")
45
45
  when /darwin/
46
+ sh "make"
46
47
  sh "make libbam.1.dylib-local"
47
48
  cp("libbam.1.dylib","#{path_external}")
48
49
  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.2
5
+ version: 0.2.3
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: -3264146805036467926
178
+ hash: 1413941539923887272
179
179
  segments:
180
180
  - 0
181
181
  version: "0"