forked from drbrain/cast
-
Notifications
You must be signed in to change notification settings - Fork 1
/
cast.gemspec
26 lines (23 loc) · 897 Bytes
/
cast.gemspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
spec = Gem::Specification.new do |s|
s.name = 'cast'
s.summary = "C parser and AST constructor."
s.version = '0.2.0'
s.author = 'George Ogata'
s.email = '[email protected]'
s.homepage = 'http://cast.rubyforge.org'
s.rubyforge_project = 'cast'
s.platform = Gem::Platform::RUBY
s.extensions << 'ext/cast/extconf.rb'
s.files = Dir['README', 'ChangeLog', '{lib,ext,doc,test}/**/*'] - Dir['ext/**/*.{bundle,so,o}']
s.test_files = Dir['test/*']
s.add_development_dependency 'racc'
s.requirements << 're2c for development'
s.requirements << 'a precompiler such as GCC'
s.post_install_message =<<MSG
****************************************************
Make sure you have the C preprocessor for your Ruby.
To find the C preprocessor command for your Ruby:
ruby -rrbconfig -e "puts RbConfig::CONFIG['CPP']"
****************************************************
MSG
end