annotate ruby/rbdc/rbdc.gemspec @ 37:8c8f848131c6

- version bump - better doc - made calling convention mode reset by default, as only way to specify convention used is via signature string
author Tassilo Philipp
date Mon, 13 Apr 2020 20:08:54 +0200
parents 18e1f1bb1945
children
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
27
18e1f1bb1945 - 1.1 update
Tassilo Philipp
parents: 25
diff changeset
4 # Copyright (c) 2007-2020 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'
6
80273969f043 - ruby binding path cleanup, previous version required bindings and dyncall be checked out in same parent directory
cslag
parents: 3
diff changeset
24 #dyncall_dir = ENV['DC_DIR']
80273969f043 - ruby binding path cleanup, previous version required bindings and dyncall be checked out in same parent directory
cslag
parents: 3
diff changeset
25 #FileUtils.symlink dyncall_dir, 'dyncall'#, :force => true
0
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
27
18e1f1bb1945 - 1.1 update
Tassilo Philipp
parents: 25
diff changeset
36 spec.version = '1.1.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
6
80273969f043 - ruby binding path cleanup, previous version required bindings and dyncall be checked out in same parent directory
cslag
parents: 3
diff changeset
40 # Note that this requires dyncall to live in this directory, create a symlink to the dyncall directory.
80273969f043 - ruby binding path cleanup, previous version required bindings and dyncall be checked out in same parent directory
cslag
parents: 3
diff changeset
41 spec.files = FileList['dyncall/**/*', 'rbdc.c'].exclude('dyncall/doc/**/*').exclude('dyncall/test/**/*').to_a
80273969f043 - ruby binding path cleanup, previous version required bindings and dyncall be checked out in same parent directory
cslag
parents: 3
diff changeset
42 spec.extensions << 'extconf.rb'
0
0cfcc391201f initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
43 end
6
80273969f043 - ruby binding path cleanup, previous version required bindings and dyncall be checked out in same parent directory
cslag
parents: 3
diff changeset
44