Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 27 lines (20 sloc) 0.783 kB
c5d3bca restructured to build rubygems-packages based on hoe and rake-compiler
Kanis-Küche authored
1 # -*- coding: utf-8 -*-
2 # -*- ruby -*-
3
4 require 'rubygems'
5 require 'hoe'
6 require 'rake/extensiontask'
7
8 hoe = Hoe.spec 'pkcs11' do
9 developer('Ryosuke Kutsuna', 'ryosuke@deer-n-horse.jp')
10 developer('GOTOU Yuuzou', 'gotoyuzo@notwork.org')
11 developer('Lars Kanis', 'kanis@comcard.de')
9713aa5 Updated README file
Kanis-Küche authored
12
13 self.readme_file = 'README.rdoc'
14 self.extra_rdoc_files << self.readme_file
dce3a0c Adding "fat gem" compatible loader, set the default RUBY_CC_VERSION
Kanis-Küche authored
15 spec_extras[:extensions] = 'ext/extconf.rb'
c5d3bca restructured to build rubygems-packages based on hoe and rake-compiler
Kanis-Küche authored
16 end
17
dce3a0c Adding "fat gem" compatible loader, set the default RUBY_CC_VERSION
Kanis-Küche authored
18 ENV['RUBY_CC_VERSION'] = '1.8.6:1.9.1'
19
20 Rake::ExtensionTask.new('pkcs11_ext', hoe.spec) do |ext|
21 ext.ext_dir = 'ext'
c5d3bca restructured to build rubygems-packages based on hoe and rake-compiler
Kanis-Küche authored
22 ext.cross_compile = true # enable cross compilation (requires cross compile toolchain)
23 ext.cross_platform = ['i386-mswin32', 'i386-mingw32'] # forces the Windows platform instead of the default one
24 end
25
26 # vim: syntax=ruby
Something went wrong with that request. Please try again.