forked from jmcnamara/libxlsxwriter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
libxlsxwriter.podspec
48 lines (42 loc) · 2.52 KB
/
libxlsxwriter.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
Pod::Spec.new do |s|
s.name = "libxlsxwriter"
s.version = "0.7.5"
s.summary = "Libxlsxwriter: A C library for creating Excel XLSX files."
s.ios.deployment_target = "6.0"
s.osx.deployment_target = "10.8"
s.description = <<-DESC
Libxlsxwriter is a C library that can be used to write text, numbers, formulas and hyperlinks to multiple worksheets in an Excel 2007+ XLSX file.
It supports features such as:
* 100% compatible Excel XLSX files.
* Full Excel formatting.
* Merged cells.
* Defined names.
* Autofilters.
* Charts.
* Data validation and drop down lists.
* Worksheet PNG/JPEG images.
* Memory optimisation mode for writing large files.
* Source code available on [GitHub](https://github.com/jmcnamara/libxlsxwriter).
* FreeBSD license.
* ANSI C.
* Works with GCC, Clang, Xcode, MSVC 2015, ICC, TCC, MinGW, MingGW-w64/32.
* Works on Linux, FreeBSD, OpenBSD, OS X, iOS and Windows. Also works on MSYS/MSYS2 and Cygwin.
* Compiles for 32 and 64 bit.
* The only dependency is on `zlib`.
DESC
s.homepage = "http://libxlsxwriter.github.io"
s.documentation_url = "http://libxlsxwriter.github.io"
s.license = "FreeBSD"
s.author = { "John McNamara" => "jmcnamara@cpan.org" }
s.source = { :git => "https://github.com/jmcnamara/libxlsxwriter.git", :tag => "RELEASE_" + s.version.to_s }
s.source_files = "src/**/*.c", "third_party/**/{zip.c,ioapi.c,tmpfileplus.c}", "include/**/*.h"
s.header_dir = "xlsxwriter"
s.header_mappings_dir = "include"
s.library = "z"
s.compiler_flags = "-DNOCRYPT=1", "-DNOUNCRYPT=1"
s.pod_target_xcconfig = { 'USER_HEADER_SEARCH_PATHS' => '${PODS_ROOT}/libxlsxwriter/include' }
s.module_map = "cocoapods/libxlsxwriter.modulemap"
s.prepare_command = <<-CMD
cp cocoapods/libxlsxwriter-umbrella.h include/xlsxwriter/libxlsxwriter-umbrella.h
CMD
end