Files
SWCompression/SWCompression.podspec
T
2016-11-20 19:10:52 +03:00

55 lines
1.8 KiB
Ruby

Pod::Spec.new do |s|
s.name = "SWCompression"
s.version = "1.1.1"
s.summary = "Framework with implementations in Swift of different (de)compression algorithms"
s.description = <<-DESC
A framework which contains native (written in Swift) implementations of compression algorithms.
Swift developers currently have access only to various wrappers written in Objective-C
around system libraries if they want to decompress something. SWCompression allows to do this with pure Swift
without relying on availability of system libraries.
DESC
s.homepage = "https://github.com/tsolomko/SWCompression"
s.license = { :type => "MIT", :file => "LICENSE" }
s.author = { "Timofey Solomko" => "tsolomko@gmail.com" }
s.ios.deployment_target = "10.1"
s.osx.deployment_target = "10.12"
s.tvos.deployment_target = "10.0"
s.watchos.deployment_target = "3.1"
s.source = { :git => "https://github.com/tsolomko/SWCompression.git", :tag => "v#{s.version}" }
s.subspec 'Common' do |sp|
sp.public_header_files = 'Sources/Service/SWCompression.h'
sp.source_files = "Sources/{DataWithPointer.swift,HuffmanTable.swift,HuffmanLength.swift,Protocols.swift,Extensions.swift,Service/*.swift,Service/*.h}"
end
s.subspec 'Deflate' do |sp|
sp.dependency 'SWCompression/Common'
sp.source_files = 'Sources/Deflate.swift'
end
s.subspec 'GZip' do |sp|
sp.dependency 'SWCompression/Common'
sp.dependency 'SWCompression/Deflate'
sp.source_files = 'Sources/GZipArchive.swift'
end
s.subspec 'Zlib' do |sp|
sp.dependency 'SWCompression/Common'
sp.dependency 'SWCompression/Deflate'
sp.source_files = 'Sources/ZlibArchive.swift'
end
s.subspec 'BZip2' do |sp|
sp.dependency 'SWCompression/Common'
sp.source_files = 'Sources/BZip2.swift'
end
end