-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathLinear.podspec
47 lines (43 loc) · 1.51 KB
/
Linear.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 = 'Linear'
s.version = '0.7.2'
s.summary = 'a msgpack-rpc implementation for Objective-C'
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.homepage = 'https://github.com/linear-rpc/linear-objc'
s.authors = { 'Masayuki Imanishi' => 'Masayuki.Imanishi@sony.com' }
s.source = { :git => 'https://github.com/linear-rpc/linear-objc', :submodules => true }
s.platform = :ios, '7.0'
s.prepare_command = <<-PREPROCESS
(
./build-universal.sh
)
PREPROCESS
@headers = [
'workspace/universal/include/LinearAddrInfo.h',
'workspace/universal/include/LinearAuthContext.h',
'workspace/universal/include/LinearClient.h',
'workspace/universal/include/LinearError.h',
'workspace/universal/include/LinearLog.h',
'workspace/universal/include/LinearMessage.h',
'workspace/universal/include/LinearSocket.h',
'workspace/universal/include/LinearTCPClient.h',
'workspace/universal/include/LinearTCPSocket.h',
'workspace/universal/include/LinearWSClient.h',
'workspace/universal/include/LinearWSContext.h',
'workspace/universal/include/LinearWSSocket.h'
]
@libraries = [
'workspace/universal/lib/liblinear_objc.a',
'workspace/universal/lib/liblinear.a',
'workspace/universal/lib/libtv.a',
'workspace/universal/lib/libuv.a'
]
@libs = [
'linear_objc', 'linear', 'tv', 'uv'
]
s.source_files = @headers
s.vendored_libraries = @libraries
s.libraries = @libs
s.xcconfig = { 'OTHER_LDFLAGS' => '-lstdc++' }
s.requires_arc = true
end