-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmrbgem.rake
25 lines (22 loc) · 1.26 KB
/
mrbgem.rake
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
MRuby::Gem::Specification.new('chimay') do |spec|
spec.license = 'MIT'
spec.author = 'Takaishi Ryo'
spec.summary = 'chimay is mruby script runner with consul event.'
spec.homepage = 'https://github.com/takaishi/chimay'
spec.bins = ['chimay']
spec.add_dependency 'mruby-print', :core => 'mruby-print'
spec.add_dependency 'mruby-eval', :core => 'mruby-eval'
spec.add_dependency 'mruby-mtest', :mgem => 'mruby-mtest'
spec.add_dependency 'mruby-onig-regexp', :mgem => 'mruby-onig-regexp'
spec.add_dependency 'mruby-env', :mgem => 'mruby-env'
spec.add_dependency 'mruby-polarssl', :mgem => 'mruby-polarssl'
spec.add_dependency 'mruby-io', :mgem => 'mruby-io'
spec.add_dependency 'mruby-httprequest', :mgem => 'mruby-httprequest'
# spec.add_dependency 'mruby-aws-s3', :mgem => 'mruby-aws-s3'
spec.add_dependency 'mruby-aws-s3', :git => 'https://github.com/takaishi/mruby-aws-s3.git', :branch => 'test'
spec.add_dependency 'mruby-json', :mgem => 'mruby-json'
if build.kind_of?(MRuby::CrossBuild) && %w(x86_64-pc-linux-gnu).include?(build.host_target)
spec.cc.include_paths += ["/usr/include/openssl"]
spec.linker.flags_before_libraries += ["/usr/lib/x86_64-linux-gnu/libcrypto.a", '-ldl']
end
end