librws.podspec 1.1 KB

123456789101112131415161718192021222324252627282930
  1. Pod::Spec.new do |s|
  2. # Common settings
  3. s.name = "librws"
  4. s.version = "1.2.4"
  5. s.summary = " Tiny, cross platform websocket client C library"
  6. s.description = <<-DESC
  7. Tiny, cross platform websocket client C library.
  8. - No additional dependecies, exceprt pthread on unix-like platforms and Win threads on Windows
  9. - Single header library interface librws.h with public methods
  10. - Thread safe
  11. - Send/receive logic in background thread
  12. DESC
  13. s.homepage = "https://github.com/OlehKulykov/librws"
  14. s.license = { :type => 'MIT', :file => 'LICENSE' }
  15. s.author = { "Oleh Kulykov" => "info@resident.name" }
  16. s.source = { :git => 'https://github.com/OlehKulykov/librws.git', :tag => s.version.to_s }
  17. # Platforms
  18. s.ios.deployment_target = "7.0"
  19. s.osx.deployment_target = "10.7"
  20. s.watchos.deployment_target = '2.0'
  21. s.tvos.deployment_target = '9.0'
  22. # Build
  23. s.source_files = '*.h', 'src/*.{h,c}', 'contrib/objc/*.{h,m}'
  24. s.public_header_files = '*.h', 'contrib/objc/*.h'
  25. s.requires_arc = true
  26. s.libraries = 'pthread', 'stdc++'
  27. end