-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathBRCybertron.podspec
47 lines (37 loc) · 1.43 KB
/
BRCybertron.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
Pod::Spec.new do |s|
s.name = "BRCybertron"
s.version = "1.1.1"
s.summary = "Objective-C XSLT processor."
s.description = <<-DESC
This project provides a simple way to run XSLT 1.0 transformations on XML
documents in Objective-C.
DESC
s.homepage = "https://github.com/Blue-Rocket/BRCybertron"
s.license = "MIT"
s.author = { "Matt Magoffin" => "matt@bluerocket.us" }
s.ios.deployment_target = "7.1"
s.source = { :git => "https://github.com/Blue-Rocket/BRCybertron.git",
:tag => s.version.to_s, :submodules => true }
s.libraries = 'xml2'
s.xcconfig = { 'HEADER_SEARCH_PATHS' => '"$(SDKROOT)/usr/include/libxml2"', }
s.requires_arc = true
s.default_subspec = 'Core'
s.subspec 'libxslt' do |as|
as.xcconfig = {
'HEADER_SEARCH_PATHS' => '"${PODS_ROOT}/Headers/Private/BRCybertron/BRCybertron/libxslt" ' +
'"${PODS_ROOT}/Headers/Private/BRCybertron/libxslt"'
}
as.header_mappings_dir = '.'
as.requires_arc = false
as.source_files = "BRCybertron/libxslt/**/*.h",
"libxslt/libxslt/*.{h,c}",
"libxslt/libexslt/*.{h,c}"
as.private_header_files = "BRCybertron/libxslt/**/*.h",
"libxslt/libxslt/*.h",
"libxslt/libexslt/*.h"
end
s.subspec 'Core' do |as|
as.dependency 'BRCybertron/libxslt'
as.source_files = 'BRCybertron/Packaging/BRCybertron.h', 'BRCybertron/BRCybertron'
end
end