You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
1.1 KiB
38 lines
1.1 KiB
3 years ago
|
Pod::Spec.new do |s|
|
||
|
s.name = 'Minizip'
|
||
|
s.version = '2.3.3'
|
||
|
s.license = 'zlib'
|
||
|
s.summary = 'Minizip contrib in zlib with the latest bug fixes and advanced features'
|
||
|
s.description = <<-DESC
|
||
|
Minizip zlib contribution that includes:
|
||
|
* AES encryption
|
||
|
* I/O buffering
|
||
|
* PKWARE disk splitting
|
||
|
It also has the latest bug fixes that having been found all over the internet.
|
||
|
DESC
|
||
|
s.homepage = 'https://github.com/nmoinvaz/minizip'
|
||
|
s.authors = 'Nathan Moinvaziri', 'Gilles Vollant'
|
||
|
|
||
|
s.source = { :git => 'https://github.com/nmoinvaz/minizip.git' }
|
||
|
s.libraries = 'z'
|
||
|
|
||
|
s.subspec 'Core' do |sp|
|
||
|
sp.source_files = '{mz_os,mz_compat,mz_strm,mz_strm_mem,mz_strm_buf,mz_zip,mz_strm_crypt,mz_strm_posix,mz_strm_zlib}.{c,h}'
|
||
|
end
|
||
|
|
||
|
s.subspec 'AES' do |sp|
|
||
|
sp.dependency 'Minizip/Core'
|
||
|
sp.source_files = 'lib/aes/*.{c,h}', 'mz_strm_aes.{c,h}'
|
||
|
end
|
||
|
|
||
|
s.subspec 'BZIP2' do |sp|
|
||
|
sp.dependency 'Minizip/Core'
|
||
|
sp.source_files = 'lib/bzip2/*.{c,h}', 'mz_strm_bzip.{c,h}'
|
||
|
end
|
||
|
|
||
|
s.subspec 'LZMA' do |sp|
|
||
|
sp.dependency 'Minizip/Core'
|
||
|
sp.source_files = 'lib/liblzma/*.{c,h}', 'mz_strm_lzma.{c,h}'
|
||
|
end
|
||
|
end
|