comparison ruby/rbdc/rbdc.gemspec @ 0:0cfcc391201f

initial from svn dyncall-1745
author Daniel Adler
date Thu, 19 Mar 2015 22:26:28 +0100
parents
children 5e159be89d73
comparison
equal deleted inserted replaced
-1:000000000000 0:0cfcc391201f
1 #//////////////////////////////////////////////////////////////////////
2 #
3 # rbdc.gemspec
4 # Copyright (c) 2007-2009 Daniel Adler <dadler@uni-goettingen.de>,
5 # Tassilo Philipp <tphilipp@potion-studios.com>
6 #
7 # Permission to use, copy, modify, and distribute this software for any
8 # purpose with or without fee is hereby granted, provided that the above
9 # copyright notice and this permission notice appear in all copies.
10 #
11 # THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
12 # WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
13 # MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
14 # ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
15 # WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
16 # ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
17 # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
18 #
19 # Ruby gems specification file.
20 #
21 #///////////////////////////////////////////////////////////////////////
22
23 require 'rake'
24 base_dir = '../../..'
25 Dir.chdir(base_dir)
26
27 Gem::Specification.new do |spec|
28 spec.name = 'rbdc'
29 spec.author = 'Tassilo Philipp'
30 spec.email = 'tphilipp@potion-studios.com'
31 spec.homepage = 'http://www.dyncall.org'
32
33 spec.summary = 'foreign function interface for C calls'
34 spec.description = 'Ruby interface to dyncall, allowing programmers to call C functions in shared libraries from ruby without writing any glue code at all (e.g. "l.load(\'/usr/lib/libm.so\'); puts \'pow(2.0, 10.0) = \' + l.call(:pow, \'dd)d\', 2.0, 10.0).to_s")'
35
36 spec.version = '0.8.7'
37 spec.required_ruby_version = '>= 1.9.1'
38 spec.license = 'ISC'
39
40 spec.files = FileList['dyncall/**/*', 'bindings/ruby/rbdc/rbdc.c'].exclude('dyncall/doc/**/*').exclude('dyncall/test/**/*').to_a
41 spec.extensions << 'bindings/ruby/rbdc/extconf.rb'
42 end