Skip to content
Newer
Older
100644 23 lines (17 sloc) 671 Bytes
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
c5d3bca restructured to build rubygems-packages based on hoe and rake-compiler
Kanis-Küche authored
15 end
16
17 Rake::ExtensionTask.new('pkcs11', hoe.spec) do |ext|
18 ext.cross_compile = true # enable cross compilation (requires cross compile toolchain)
19 ext.cross_platform = ['i386-mswin32', 'i386-mingw32'] # forces the Windows platform instead of the default one
20 end
21
22 # vim: syntax=ruby
Something went wrong with that request. Please try again.