-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSkyScraper.podspec
56 lines (52 loc) · 2.09 KB
/
SkyScraper.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
Pod::Spec.new do |s|
s.name = "SkyScraper"
s.version = "1.1"
s.summary = "An Objective-C wrapper over libxslt with a couple of useful additions, created to allow easy HTML scraping with data represented in JSON format with the following deserialization into application models"
s.license = { :type => "MIT", :file => "LICENSE.txt" }
s.authors = { "Eugene Dorfman" => "[email protected]",
"Oleg Kovtun" => "[email protected]" }
s.source = { :git => "[email protected]:justadreamer/SkyScraper.git", :tag => s.version }
s.ios.deployment_target = '9.0'
s.osx.deployment_target = '10.10'
s.requires_arc = true
s.homepage = 'https://github.com/justadreamer/SkyScraper'
s.default_subspec = 'All'
s.subspec 'All' do |ss|
ss.dependency 'SkyScraper/AFNetworking3'
ss.dependency 'SkyScraper/Mantle'
end
s.subspec 'Base' do |ss|
ss.source_files = [
'SkyScraper/SkyScraper.h',
'SkyScraper/SkyXSLTransformation.{h,m}',
'SkyScraper/SkyXSLTParams.{h,m}',
'SkyScraper/SkyModelAdapter.h',
'libxslt/*.h',
'libexslt/*.h'
]
ss.xcconfig = { 'HEADER_SEARCH_PATHS' => '/usr/include/libxml2 ' }
ss.libraries = 'xml2', 'iconv'
ss.vendored_library = 'libxslt-with-plugins/libxslt-with-plugins.a'
ss.private_header_files = ['libxslt/*.h','libexslt/*.h']
end
s.subspec 'AFNetworking3' do |ss|
ss.dependency 'SkyScraper/Base'
ss.dependency 'AFNetworking', '~> 3.0'
ss.source_files = [
'SkyScraper/SkyScraper+AFNetworking.h',
'SkyScraper/SkyResponseSerializer+Protected.h',
'SkyScraper/SkyHTMLResponseSerializer.{h,m}',
'SkyScraper/SkyXMLResponseSerializer.{h,m}',
'SkyScraper/SkyJSONResponseSerializer.{h,m}',
'SkyScraper/SkyResponseSerializer.{h,m}'
]
end
s.subspec 'Mantle' do |ss|
ss.dependency 'SkyScraper/Base'
ss.dependency 'Mantle'
ss.source_files = [
'SkyScraper/SkyMantleModelAdapter.{h,m}',
'SkyScraper/SkyScraper+Mantle.h'
]
end
end