forked from hohl/MIHCrypto
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMIHCrypto.podspec
45 lines (38 loc) · 1.42 KB
/
MIHCrypto.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
Pod::Spec.new do |s|
s.name = "MIHCrypto"
s.version = "0.1.0"
s.license = 'MIT'
s.summary = "OpenSSL wrapper for Objective-C"
s.description = "MIHCrypto provides an object-oriented cryptography framework based on libCrypto
by OpenSSL. Supports RSA, DES, AES, ECC (Elliptic Curve Cryptography) and more."
s.homepage = "https://github.com/hohl/MIHCrypto"
s.authors = {'Michael Hohl' => '[email protected]'}
s.source = { :git => "https://github.com/hohl/MIHCrypto.git", :tag => "#{s.version}" }
s.ios.platform = :ios, '5.1.1'
s.ios.deployment_target = '5.1.1'
s.osx.platform = :osx, '10.9'
s.osx.deployment_target = '10.7'
s.requires_arc = true
s.source_files = 'MIHCrypto/{Utils,Core}/*.{h,m,c}'
s.subspec 'Core' do |core|
core.source_files = 'MIHCrypto/{Utils,Core}/*.{h,m,c}'
core.dependency 'OpenSSL-Universal'
core.dependency 'CocoaLumberjack'
end
s.subspec 'AES' do |ss|
ss.source_files = 'MIHCrypto/AES/*.{h,m,c}'
ss.dependency 'MIHCrypto/Core'
end
s.subspec 'MD5' do |ss|
ss.source_files = 'MIHCrypto/MD5/*.{h,m,c}'
ss.dependency 'MIHCrypto/Core'
end
s.subspec 'RSA' do |ss|
ss.source_files = 'MIHCrypto/RSA/*.{h,m,c}'
ss.dependency 'MIHCrypto/Core'
end
s.subspec 'SHA' do |ss|
ss.source_files = 'MIHCrypto/SHA/*.{h,m,c}'
ss.dependency 'MIHCrypto/Core'
end
end