Sha256: b43b083b1a3067d0ec9165cfca722d4ce4ae2fa0e74f09296f69a2356efbfd2a

Contents?: true

Size: 594 Bytes

Versions: 4

Compression:

Stored size: 594 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 ( /mswin|mingw|win32/ =~ RUBY_PLATFORM ) then
    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.2.5 ext/enterprise_script_service/mruby/mrbgems/mruby-socket/mrbgem.rake
script_core-0.2.4 ext/enterprise_script_service/mruby/mrbgems/mruby-socket/mrbgem.rake
script_core-0.2.3 ext/enterprise_script_service/mruby/mrbgems/mruby-socket/mrbgem.rake
script_core-0.2.2 ext/enterprise_script_service/mruby/mrbgems/mruby-socket/mrbgem.rake