File: Rakefile

package info (click to toggle)
ruby-fast-xs 0.8.0-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 204 kB
  • sloc: ruby: 1,521; ansic: 337; makefile: 2
file content (21 lines) | stat: -rw-r--r-- 696 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
require 'hoe'
hoe = Hoe.spec('fast_xs') do
  self.version = '0.8.0'
  self.author = 'fast_xs hackers'
  self.email = 'fast-xs-general@rubyforge.org'
  self.url = 'http://fast-xs.rubyforge.org/'
  self.history_file = 'History.rdoc'
  self.readme_file = 'README.rdoc'
  self.remote_rdoc_dir = ''
  self.rubyforge_name = 'fast-xs'
  self.spec_extras = { :extensions => Dir.glob('ext/*/extconf.rb') }
end

# optional rake-compiler support in case somebody needs to cross compile
begin
  require 'rake/extensiontask'
  Rake::ExtensionTask.new('fast_xs', hoe.spec)
  Rake::ExtensionTask.new('fast_xs_extra', hoe.spec)
rescue LoadError
  warn "rake-compiler not available, cross compiling disabled"
end