-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathSSH.podspec
33 lines (31 loc) · 1.08 KB
/
SSH.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
Pod::Spec.new do |s|
s.name = 'SSH'
s.version = '0.1.0'
s.summary = 'SSH,libssh2'
s.description = "libssh2 + OpenSSL + wolfSSL swift"
s.homepage = 'https://github.com/sshterm/ssh'
s.license = 'MIT'
s.author = { 'sshterm' => '[email protected]' }
s.source = { :git => 'https://github.com/sshterm/ssh.git', :tag => s.version.to_s }
s.ios.deployment_target = '16.0'
s.osx.deployment_target = '13.0'
s.default_subspecs = :none
s.subspec 'OpenSSL' do |cs|
cs.source_files = 'src/**/*.{swift}'
cs.dependency 'CSSH'
cs.pod_target_xcconfig = { 'OTHER_SWIFT_FLAGS' => '-DOPEN_SSL' }
cs.libraries = 'z'
end
s.subspec 'OpenSSLFull' do |cs|
cs.source_files = 'src/**/*.{swift}'
cs.dependency 'CSSH'
cs.pod_target_xcconfig = { 'OTHER_SWIFT_FLAGS' => '-DOPEN_SSL' }
cs.libraries = 'z'
end
s.subspec 'wolfSSL' do |cs|
cs.source_files = 'src/**/*.{swift}'
cs.dependency 'CSSH'
cs.pod_target_xcconfig = { 'OTHER_SWIFT_FLAGS' => '-DWOLF_SSL' }
cs.libraries = 'z'
end
end