forked from Cocoanetics/DTFoundation
-
Notifications
You must be signed in to change notification settings - Fork 0
/
DTFoundation.podspec
97 lines (83 loc) · 2.92 KB
/
DTFoundation.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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
Pod::Spec.new do |spec|
spec.name = 'DTFoundation'
spec.version = '1.6.0'
spec.summary = "Standard toolset classes and categories."
spec.homepage = "https://github.com/Cocoanetics/DTFoundation"
spec.author = { "Oliver Drobnik" => "[email protected]" }
spec.source = { :git => "https://github.com/Cocoanetics/DTFoundation.git", :tag => spec.version.to_s }
spec.license = 'BSD'
spec.requires_arc = true
spec.subspec 'Core' do |ss|
ss.ios.deployment_target = '4.3'
ss.osx.deployment_target = '10.6'
ss.source_files = 'Core/Source/*.{h,m}'
end
spec.subspec 'UIKit' do |ss|
ss.platform = :ios, '4.3'
ss.dependency 'DTFoundation/Core'
ss.ios.frameworks = 'QuartzCore'
ss.ios.source_files = 'Core/Source/iOS/*.{h,m}'
end
spec.subspec 'UIKit_BlocksAdditions' do |ss|
ss.platform = :ios, '4.3'
ss.dependency 'DTFoundation/Core'
ss.ios.source_files = 'Core/Source/iOS/BlocksAdditions/*.{h,m}'
end
spec.subspec 'AppKit' do |ss|
ss.platform = :osx, '10.6'
ss.dependency 'DTFoundation/Core'
ss.osx.source_files = 'Core/Source/OSX/*.{h,m}'
end
spec.subspec 'DTAWS' do |ss|
ss.ios.deployment_target = '4.3'
ss.osx.deployment_target = '10.6'
ss.dependency 'DTFoundation/Core'
ss.source_files = 'Core/Source/DTAWS/*.{h,m}'
end
spec.subspec 'DTASN1' do |ss|
ss.ios.deployment_target = '4.3'
ss.osx.deployment_target = '10.6'
ss.dependency 'DTFoundation/Core'
ss.source_files = 'Core/Source/DTASN1/*.{h,m}'
end
spec.subspec 'DTHTMLParser' do |ss|
ss.ios.deployment_target = '4.3'
ss.dependency 'DTFoundation/Core'
ss.source_files = 'Core/Source/DTHTMLParser/*.{h,m}'
ss.library = 'xml2'
ss.xcconfig = { 'HEADER_SEARCH_PATHS' => '"$(SDKROOT)/usr/include/libxml2"' }
end
spec.subspec 'DTReachability' do |ss|
ss.ios.deployment_target = '4.3'
ss.osx.deployment_target = '10.6'
ss.framework = 'SystemConfiguration'
ss.source_files = 'Core/Source/DTReachability/*.{h,m}'
end
spec.subspec 'DTSidePanel' do |ss|
ss.platform = :ios, '5.0'
ss.dependency 'DTFoundation/UIKit'
ss.ios.frameworks = 'QuartzCore'
ss.ios.source_files = 'Core/Source/iOS/DTSidePanel/*.{h,m}'
end
spec.subspec 'DTSQLite' do |ss|
ss.ios.deployment_target = '4.3'
ss.osx.deployment_target = '10.6'
ss.library = 'sqlite3'
ss.source_files = 'Core/Source/DTSQLite/*.{h,m}'
end
spec.subspec 'DTUTI' do |ss|
ss.ios.deployment_target = '4.3'
ss.ios.frameworks = ['MobileCoreServices']
ss.source_files = 'Core/Source/DTUTI/*.{h,m}'
end
spec.subspec 'DTZipArchive' do |ss|
ss.ios.deployment_target = '4.3'
ss.source_files = 'Core/Source/DTZipArchive/*.{h,m}'
ss.library = 'z'
# Ideally minizip should have a Pod
# ss.dependency 'Minizip'
ss.subspec 'Minizip' do |sss|
sss.source_files = 'Core/Source/Externals/minizip/*.{h,c}'
end
end
end