forked from yapstudios/YapDatabase
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathYapDatabase.podspec
34 lines (29 loc) · 1.17 KB
/
YapDatabase.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
Pod::Spec.new do |s|
s.name = "YapDatabase"
s.version = "2.7.2"
s.summary = "A key/value store built atop sqlite for iOS & Mac."
s.homepage = "https://github.com/yapstudios/YapDatabase"
s.license = 'MIT'
s.ios.deployment_target = '6.0'
s.osx.deployment_target = '10.8'
s.author = { "Robbie Hanson" => "[email protected]" }
s.source = { :git => "https://github.com/yapstudios/YapDatabase.git", :tag => s.version.to_s }
s.module_map = "module.modulemap"
s.default_subspec = 'standard'
# use a builtin version of sqlite3
s.subspec 'standard' do |ss|
ss.library = 'sqlite3'
ss.dependency 'CocoaLumberjack', '~> 2'
ss.source_files = 'YapDatabase/**/*.{h,m,mm}'
ss.private_header_files = 'YapDatabase/**/Internal/*.h'
ss.requires_arc = true
end
# use SQLCipher and enable -DSQLITE_HAS_CODEC flag
s.subspec 'SQLCipher' do |ss|
ss.dependency 'SQLCipher/fts'
ss.dependency 'CocoaLumberjack', '~> 2'
ss.source_files = 'YapDatabase/**/*.{h,m,mm}'
ss.private_header_files = 'YapDatabase/**/Internal/*.h'
ss.xcconfig = { 'OTHER_CFLAGS' => '$(inherited) -DSQLITE_HAS_CODEC' }
end
end