annotate ruby/rbdc/rbdc.gemspec @ 1:5e159be89d73

- ruby and sh binding updates for dc r0.9
author cslag
date Thu, 31 Dec 2015 20:17:37 +0100
parents 0cfcc391201f
children f5d4d5c2f750
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
1 #//////////////////////////////////////////////////////////////////////
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
2 #
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
3 # rbdc.gemspec
1
5e159be89d73 - ruby and sh binding updates for dc r0.9
cslag
parents: 0
diff changeset
4 # Copyright (c) 2007-2015 Daniel Adler <dadler@uni-goettingen.de>,
0
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
5 # Tassilo Philipp <tphilipp@potion-studios.com>
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
6 #
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
7 # Permission to use, copy, modify, and distribute this software for any
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
8 # purpose with or without fee is hereby granted, provided that the above
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
9 # copyright notice and this permission notice appear in all copies.
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
10 #
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
11 # THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
12 # WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
13 # MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
14 # ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
15 # WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
16 # ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
17 # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
18 #
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
19 # Ruby gems specification file.
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
20 #
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
21 #///////////////////////////////////////////////////////////////////////
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
22
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
23 require 'rake'
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
24 base_dir = '../../..'
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
25 Dir.chdir(base_dir)
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
26
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
27 Gem::Specification.new do |spec|
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
28 spec.name = 'rbdc'
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
29 spec.author = 'Tassilo Philipp'
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
30 spec.email = 'tphilipp@potion-studios.com'
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
31 spec.homepage = 'http://www.dyncall.org'
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
32
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
33 spec.summary = 'foreign function interface for C calls'
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
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")'
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
35
1
5e159be89d73 - ruby and sh binding updates for dc r0.9
cslag
parents: 0
diff changeset
36 spec.version = '0.9.0'
0
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
37 spec.required_ruby_version = '>= 1.9.1'
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
38 spec.license = 'ISC'
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
39
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
40 spec.files = FileList['dyncall/**/*', 'bindings/ruby/rbdc/rbdc.c'].exclude('dyncall/doc/**/*').exclude('dyncall/test/**/*').to_a
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
41 spec.extensions << 'bindings/ruby/rbdc/extconf.rb'
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
42 end