forked from SciRuby/nmatrix
-
Notifications
You must be signed in to change notification settings - Fork 0
/
nmatrix-fftw.gemspec
29 lines (23 loc) · 1.11 KB
/
nmatrix-fftw.gemspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
lib = File.expand_path('../lib/', __FILE__)
$:.unshift lib unless $:.include?(lib)
require 'nmatrix/version'
Gem::Specification.new do |gem|
gem.name = "nmatrix-fftw"
gem.version = NMatrix::VERSION::STRING
gem.summary = "FFTW backend for NMatrix"
gem.description = "NMatrix extension for using fuctions provided by FFTW"
gem.homepage = 'http://sciruby.com'
gem.authors = ['Sameer Deshmukh', 'Magdalen Berns']
gem.email = ['[email protected]', '[email protected]']
gem.license = 'BSD-3-Clause'
gem.files = ["lib/nmatrix/fftw.rb"]
gem.files += `git ls-files -- ext/nmatrix_fftw`.split("\n")
gem.files += `git ls-files -- ext/nmatrix | grep ".h$"`.split("\n") #need nmatrix header files to compile
gem.test_files = `git ls-files -- spec`.split("\n")
gem.test_files -= `git ls-files -- spec/plugins`.split("\n")
gem.test_files += `git ls-files -- spec/plugins/fftw`.split("\n")
gem.extensions = ['ext/nmatrix_fftw/extconf.rb']
gem.require_paths = ["lib"]
gem.required_ruby_version = '>= 1.9'
gem.add_dependency 'nmatrix', NMatrix::VERSION::STRING
end