forked from Tencent/wcdb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
SQLiteRepairKit.podspec
33 lines (32 loc) · 1.7 KB
/
SQLiteRepairKit.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
# pod lib lint --verbose --skip-import-validation --allow-warnings SQLiteRepairKit.podspec
# pod trunk push --verbose --skip-import-validation --allow-warnings SQLiteRepairKit.podspec
Pod::Spec.new do |sqliterk|
sqliterk.name = "SQLiteRepairKit"
sqliterk.version = "1.2.2"
sqliterk.summary = "Repair kit for SQLite based database"
sqliterk.description = <<-DESC
sqliterk is a efficient, self-contain repair kit for restoring corrupted SQLite based database.
It's basically used in WCDB, which is an efficient, complete, easy-to-use mobile database framework.
DESC
sqliterk.homepage = "https://github.com/Tencent/wcdb"
sqliterk.license = { :type => "BSD", :file => "LICENSE" }
sqliterk.author = { "sanhuazhang" => "sanhuazhang@tencent.com" }
sqliterk.module_name = "sqliterk"
sqliterk.watchos.deployment_target = "2.0"
sqliterk.tvos.deployment_target = "9.0"
sqliterk.osx.deployment_target = "10.9"
sqliterk.ios.deployment_target = "8.0"
sqliterk.dependency 'WCDBOptimizedSQLCipher', '~> 1.2.0'
sqliterk.source = { :git => "https://github.com/Tencent/wcdb.git", :tag => "v1.0.8.2" }
sqliterk.public_header_files = "repair/SQLiteRepairKit.h"
sqliterk.source_files = "repair/*.{h,c,cpp}"
sqliterk.libraries = "z", "c++"
sqliterk.pod_target_xcconfig = {
"GCC_PREPROCESSOR_DEFINITIONS" => "SQLITE_HAS_CODEC WCDB_BUILTIN_SQLCIPHER",
"LIBRARY_SEARCH_PATHS[sdk=macosx*]" => "$(SDKROOT)/usr/lib/system",
"CLANG_CXX_LANGUAGE_STANDARD" => "gnu++0x",
"CLANG_CXX_LIBRARY" => "libc++",
"APPLICATION_EXTENSION_API_ONLY" => "YES",
}
sqliterk.header_dir = "sqliterk"
end