Sha256: 805001647b367bdb389c2faf0f45b6f5ad1707fc72343b95abc34163f48340df

Contents?: true

Size: 561 Bytes

Versions: 4

Compression:

Stored size: 561 Bytes

Contents

MRuby::Gem::Specification.new('mruby-socket') do |spec|
  spec.license = 'MIT'
  spec.authors = ['Internet Initiative Japan', 'mruby developers']
  spec.summary = 'standard socket class'

  spec.cc.include_paths << "#{build.root}/src"
  #spec.cc.defines << "HAVE_SA_LEN=0"

  # If Windows, use winsock
  if for_windows?
    spec.linker.libraries << "wsock32"
    spec.linker.libraries << "ws2_32"
  end

  spec.add_dependency('mruby-io', :core => 'mruby-io')
  spec.add_dependency('mruby-pack', :core => 'mruby-pack')
  # spec.add_dependency('mruby-mtest')
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
script_core-0.3.2 ext/enterprise_script_service/mruby/mrbgems/mruby-socket/mrbgem.rake
script_core-0.3.0 ext/enterprise_script_service/mruby/mrbgems/mruby-socket/mrbgem.rake
script_core-0.2.7 ext/enterprise_script_service/mruby/mrbgems/mruby-socket/mrbgem.rake
script_core-0.2.6 ext/enterprise_script_service/mruby/mrbgems/mruby-socket/mrbgem.rake