OpenSSL.podspec 856 B

12345678910111213141516171819202122
  1. Pod::Spec.new do |s|
  2. s.name = "OpenSSL"
  3. s.version = "1.0.1e"
  4. s.summary = "OpenSSL for iOS with download and build script."
  5. s.description = "Builds OpenSSL for armv7, armv7s and the iOS simulator."
  6. s.homepage = "https://github.com/justinplouffe/OpenSSL"
  7. s.license = 'OpenSSL (OpenSSL/SSLeay)'
  8. s.author = 'Justin Plouffe'
  9. s.source = { :git => "https://github.com/justinplouffe/OpenSSL.git", :tag => "1.0.1e" }
  10. s.platform = :ios, '6.0'
  11. s.source_files = 'include/openssl/**/*.h'
  12. s.public_header_files = 'include/openssl/**/.h'
  13. s.preserve_paths = 'lib/libcrypto.a', 'lib/libssl.a'
  14. s.library = 'crypto', 'ssl'
  15. s.xcconfig = { 'LIBRARY_SEARCH_PATHS' => '"$(SRCROOT)/Pods/lib/OpenSSL"' }
  16. s.pre_install do |pod, target_definition|
  17. Dir.chdir(pod.root){ `sh ./build.sh` }
  18. end
  19. end