File: mrbgem.rake

package info (click to toggle)
mruby 3.4.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 5,584 kB
  • sloc: ansic: 51,933; ruby: 29,510; yacc: 7,077; cpp: 517; makefile: 51; sh: 42
file content (12 lines) | stat: -rw-r--r-- 528 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
MRuby::Gem::Specification.new('mruby-bigint') do |spec|
  spec.author = 'YOUR-NAME-HERE'
  spec.license = 'YOUR-LICENSE-HERE'
  spec.summary = 'Yet another multi-precision Integer extension'
  spec.homepage = 'https://gem.example/for/mruby-YOUR-bigint'
  spec.build.defines << 'MRB_USE_BIGINT'
  #spec.build.linker.libraries << 'gmp' # when uses libgmp

  spec.build.libmruby_core_objs << Dir.glob(File.join(__dir__, 'core/**/*.c')).map { |fn|
    objfile(fn.relative_path_from(__dir__).pathmap("#{spec.build_dir}/%X"))
  }
end