Mercurial > pub > dyncall > bindings
diff 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 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ruby/rbdc/rbdc.gemspec Thu Mar 19 22:26:28 2015 +0100 @@ -0,0 +1,42 @@ +#////////////////////////////////////////////////////////////////////// +# +# rbdc.gemspec +# Copyright (c) 2007-2009 Daniel Adler <dadler@uni-goettingen.de>, +# Tassilo Philipp <tphilipp@potion-studios.com> +# +# Permission to use, copy, modify, and distribute this software for any +# purpose with or without fee is hereby granted, provided that the above +# copyright notice and this permission notice appear in all copies. +# +# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES +# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR +# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES +# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN +# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF +# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. +# +# Ruby gems specification file. +# +#/////////////////////////////////////////////////////////////////////// + +require 'rake' +base_dir = '../../..' +Dir.chdir(base_dir) + +Gem::Specification.new do |spec| + spec.name = 'rbdc' + spec.author = 'Tassilo Philipp' + spec.email = 'tphilipp@potion-studios.com' + spec.homepage = 'http://www.dyncall.org' + + spec.summary = 'foreign function interface for C calls' + 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")' + + spec.version = '0.8.7' + spec.required_ruby_version = '>= 1.9.1' + spec.license = 'ISC' + + spec.files = FileList['dyncall/**/*', 'bindings/ruby/rbdc/rbdc.c'].exclude('dyncall/doc/**/*').exclude('dyncall/test/**/*').to_a + spec.extensions << 'bindings/ruby/rbdc/extconf.rb' +end