| 1 |
require 'rubygems/package_task' |
| 2 |
|
| 3 |
spec = Gem::Specification.new do |s| |
| 4 |
s.platform = Gem::Platform::RUBY |
| 5 |
s.summary = "Simple native extension with extconf.rb in root directory used to test dh_ruby" |
| 6 |
s.name = 'simpleextension_in_root' |
| 7 |
s.version = '1.2.3' |
| 8 |
s.requirements << 'none' |
| 9 |
s.require_path = '.' |
| 10 |
s.extensions << 'extconf.rb' |
| 11 |
s.author = 'Debian Ruby Team' |
| 12 |
s.email = '[email protected]' |
| 13 |
s.homepage = 'https://wiki.debian.org/Teams/Ruby' |
| 14 |
s.license = 'GPL-3+' |
| 15 |
#s.autorequire = 'rake' |
| 16 |
s.files = ['extconf.rb', 'simpleextension_in_root.c'] |
| 17 |
s.description = <<EOF |
| 18 |
simpleextension_in_root is a simple native extension that is used to test |
| 19 |
dh_ruby. It contains a Ruby native extension in the root of the source |
| 20 |
directory, instead of inside ext/ subdirectory. |
| 21 |
EOF |
| 22 |
end |
| 23 |
|
| 24 |
Gem::PackageTask.new(spec) do |pkg| |
| 25 |
pkg.need_zip = false |
| 26 |
pkg.need_tar = false |
| 27 |
end |