forked from firebase/leveldb-library-podspec
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathleveldb-library.podspec
44 lines (37 loc) · 1.15 KB
/
leveldb-library.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
Pod::Spec.new do |s|
s.name = 'leveldb-library'
s.version = '1.18.2'
s.license = 'New BSD'
s.summary = 'A fast key-value storage library '
s.description = 'LevelDB is a fast key-value storage library written at Google that provides an ordered mapping from string keys to string values.'
s.homepage = 'https://github.com/google/leveldb'
s.authors = 'The LevelDB Authors'
s.ios.deployment_target = '5.0'
s.osx.deployment_target = '10.7'
s.source = {
:git => 'https://github.com/matehat/leveldb.git',
:tag => 'v1.18.1'
}
s.requires_arc = false
s.compiler_flags = '-DOS_MACOSX', '-DLEVELDB_PLATFORM_POSIX'
s.preserve_path = "db", "port", "table", "util"
s.xcconfig = {
'CC' => 'clang',
'CXX' => 'clang++',
'HEADER_SEARCH_PATHS' => '"${PODS_ROOT}/leveldb-library/" "${PODS_ROOT}/leveldb-library/include"',
'OTHER_LDFLAGS' => '-lc++'
}
s.header_dir = "leveldb"
s.source_files = [
"db/*.{cc}",
"port/*.{cc}",
"table/*.{cc}",
"util/*.{cc}",
"include/leveldb/*.h"
]
s.exclude_files = [
"**/*_test.cc",
"**/*_bench.cc",
"port/win"
]
end