forked from krzyzanowskim/OpenSSL
-
Notifications
You must be signed in to change notification settings - Fork 1
/
OpenSSL-Universal.podspec
54 lines (49 loc) · 2.69 KB
/
OpenSSL-Universal.podspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
Pod::Spec.new do |s|
s.name = "OpenSSL-Universal"
s.version = "1.0.2.#{("a".."z").to_a.index 'u'}"
s.summary = "OpenSSL for iOS and OS X"
s.description = "OpenSSL is an SSL/TLS and Crypto toolkit. Deprecated in Mac OS and gone in iOS, this spec gives your project non-deprecated OpenSSL support. Supports OSX and iOS including Simulator (armv7,armv7s,arm64,x86_64)."
s.homepage = "https://github.com/krzyzanowskim/OpenSSL"
s.license = { :type => 'OpenSSL (OpenSSL/SSLeay)', :file => 'LICENSE.txt' }
s.source = { :git => "https://github.com/krzyzanowskim/OpenSSL.git", :tag => "#{s.version}" }
s.authors = {'Mark J. Cox' => '[email protected]',
'Ralf S. Engelschall' => '[email protected]',
'Dr. Stephen Henson' => '[email protected]',
'Ben Laurie' => '[email protected]',
'Lutz Jänicke' => '[email protected]',
'Nils Larsch' => '[email protected]',
'Richard Levitte' => '[email protected]',
'Bodo Möller' => '[email protected]',
'Ulf Möller' => '[email protected]',
'Andy Polyakov' => '[email protected]',
'Geoff Thorpe' => '[email protected]',
'Holger Reif' => '[email protected]',
'Paul C. Sutton' => '[email protected]',
'Eric A. Young' => '[email protected]',
'Tim Hudson' => '[email protected]',
'Justin Plouffe' => '[email protected]'}
s.requires_arc = false
s.default_subspec = 'Static'
s.ios.deployment_target = '6.0'
s.osx.deployment_target = '10.9'
s.subspec 'Static' do |sp|
sp.ios.deployment_target = '6.0'
sp.ios.source_files = 'ios/include/openssl/**/*.h'
sp.ios.public_header_files = 'ios/include/openssl/**/*.h'
sp.ios.header_dir = 'openssl'
sp.ios.preserve_paths = 'ios/lib/libcrypto.a', 'ios/lib/libssl.a'
sp.ios.vendored_libraries = 'ios/lib/libcrypto.a', 'ios/lib/libssl.a'
sp.osx.deployment_target = '10.9'
sp.osx.source_files = 'macos/include/openssl/**/*.h'
sp.osx.public_header_files = 'macos/include/openssl/**/*.h'
sp.osx.header_dir = 'openssl'
sp.osx.preserve_paths = 'macos/lib/libcrypto.a', 'macos/lib/libssl.a'
sp.osx.vendored_libraries = 'macos/lib/libcrypto.a', 'macos/lib/libssl.a'
end
s.subspec 'Framework' do |sp|
sp.ios.deployment_target = '8.0'
sp.ios.vendored_frameworks = 'Frameworks/ios/OpenSSL.framework'
sp.osx.deployment_target = '10.9'
sp.osx.vendored_frameworks = 'Frameworks/macos/OpenSSL.framework'
end
end