forked from gianlucabertani/Objective-Zip
-
Notifications
You must be signed in to change notification settings - Fork 0
/
objective-zip.podspec
68 lines (40 loc) · 3.84 KB
/
objective-zip.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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
Pod::Spec.new do |s|
# ――― Spec Metadata ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
s.name = "objective-zip"
s.version = "1.0.5"
s.summary = "An object-oriented friendly wrapper library for ZLib and MiniZip, in Objective-C for iOS and OS X"
s.description = <<-DESC
Objective-Zip is a small Objective-C library that wraps ZLib and
MiniZip in an object-oriented friendly way. It supports:
* Zipping and unzipping of common zip file formats.
* Multi-GB zip files thanks to 64-bit APIs, even with limited memory available.
* Per-file compression level and encryption.
Objective-Zip includes sources of latest versions of ZLib and MiniZip.
DESC
s.homepage = "https://github.com/gianlucabertani/Objective-Zip"
# ――― Spec License ――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
s.license = { :type => "BSD 2.0", :file => "LICENSE.md" }
# ――― Author Metadata ――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
s.author = { "Gianluca Bertani" => "[email protected]" }
s.social_media_url = "https://twitter.com/self_vs_this"
# ――― Platform Specifics ――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
s.ios.deployment_target = "8.0"
s.osx.deployment_target = "10.7"
# ――― Source Location ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
s.source = { :git => "https://github.com/gianlucabertani/Objective-Zip.git",
:tag => s.version.to_s }
# ――― Source Code ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
s.source_files = "Objective-Zip/**/*.{h,m}", "MiniZip/**/*.{h,c}", "ZLib/**/*.{h,c}"
# ――― Publich Headers ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
s.public_header_files = ["Objective-Zip/OZZipFile.h", "Objective-Zip/OZZipFile+Standard.h", "Objective-Zip/OZZipFile+NSError.h",
"Objective-Zip/OZZipFileMode.h", "Objective-Zip/OZZipCompressionLevel.h", "Objective-Zip/OZZipException.h",
"Objective-Zip/OZZipWriteStream.h", "Objective-Zip/OZZipWriteStream+Standard.h",
"Objective-Zip/OZZipWriteStream+NSError.h", "Objective-Zip/OZZipReadStream.h",
"Objective-Zip/OZZipReadStream+Standard.h", "Objective-Zip/OZZipReadStream+NSError.h",
"Objective-Zip/OZFileInZipInfo.h", "Objective-Zip/Objective-Zip.h", "Objective-Zip/Objective-Zip+NSError.h",
"Objective-Zip/NSDate+DOSDate.h", "Objective-Zip/NSData+CRC32.h"]
# ――― Project Settings ――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
s.requires_arc = true
s.xcconfig = { "OTHER_LDFLAGS" => "-ObjC",
"GCC_WARN_UNUSED_FUNCTION" => "NO" }
end