fmdb.podspec 667 B

1234567891011121314151617181920212223
  1. Pod::Spec.new do |s|
  2. s.name = 'FMDB'
  3. s.version = '2.0'
  4. s.summary = 'A Cocoa / Objective-C wrapper around SQLite.'
  5. s.homepage = 'https://github.com/ccgus/fmdb'
  6. s.license = 'MIT'
  7. s.author = { 'August Mueller' => 'gus@flyingmeat.com' }
  8. s.source = { :git => 'https://github.com/ccgus/fmdb.git' }
  9. s.source_files = 'src/FM*.{h,m}'
  10. s.exclude_files = 'src/fmdb\.m'
  11. s.library = 'sqlite3'
  12. s.subspec 'SQLCipher' do |ss|
  13. ss.source_files = 'src/FM*.{h,m}'
  14. ss.exclude_files = 'src/fmdb\.m'
  15. ss.library = 'sqlite3'
  16. ss.xcconfig = { 'OTHER_CFLAGS' => '$(inherited) -DSQLITE_HAS_CODEC' }
  17. ss.dependency 'SQLCipher'
  18. end
  19. end