Skip to content

Commit d141327

Browse files
committed
Add archive templates
1 parent 9c5918b commit d141327

File tree

2 files changed

+85
-0
lines changed

2 files changed

+85
-0
lines changed

archive/README.md

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
# Build-OpenSSL-cURL Binaries
2+
3+
The `build.sh` script stores the builds in this archive directory. The directory names are based on the version of the releases of OpenSSL, nghttp2 and libcurl and includes the libraries for OS X, iOS and tvOS.
4+
5+
## Build Your Own or Use These
6+
See the `build.sh` script in parent directory.
7+
8+
## Download Compressed Archives
9+
10+
Previous builds can be downloaded form the Github releases for this project: https://github.com/jasonacox/Build-OpenSSL-cURL/releases
11+
12+
## Archive
13+
14+
This directory contains the curl and openssl headers (in the `include` folder), the various *.a libraries built along with a MacOS binary for `curl` and `openssl`.
15+
16+
archive
17+
|
18+
|___libcurl-7.50.1-openssl-1.0.1t-nghttp2-1.14.0
19+
|
20+
|____bin/
21+
| |____openssl*
22+
| |____curl*
23+
|
24+
|____lib/
25+
| |____iOS/
26+
| |____MacOS/
27+
| |____tvOS/
28+
|
29+
|____include/
30+
|____openssl/
31+
|____curl/
32+
33+
## License
34+
35+
The MIT License is used for this project. See LICENSE file.
36+
37+
38+

archive/release-template.md

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
# Release ZZZLIBCURL Library and Headers
2+
3+
This release includes cURL+OpenSSL+Nghttp2 libraries and header files for MacOS, iOS and tvOS projects.
4+
5+
## Versions
6+
7+
LIBCURL="ZZZLIBCURL" # https://curl.haxx.se/download.html
8+
OPENSSL="ZZZOPENSSL" # https://www.openssl.org/source/
9+
NGHTTP2="ZZZNGHTTP2" # https://nghttp2.org/
10+
11+
## Archive
12+
13+
This directory contains the curl and openssl headers (in the `include` folder), the various *.a libraries built along with a MacOS binary for `curl` and `openssl`.
14+
15+
|___libcurl-ZZZLIBCURL-openssl-ZZZOPENSSL-nghttp2-ZZZNGHTTP2
16+
|
17+
|____cacert.pem
18+
|
19+
|____bin/
20+
| |____openssl*
21+
| |____curl*
22+
|
23+
|____lib/
24+
| |____iOS/
25+
| |____MacOS/
26+
| |____tvOS/
27+
|
28+
|____include/
29+
|____openssl/
30+
|____curl/
31+
32+
## Usage
33+
34+
1. Copy libs and headers to your project.
35+
2. Import appropriate libraries: "libssl.a", "libcrypto.a", "libcurl.a", "libnghttp2.a".
36+
3. Reference Headers.
37+
4. Specifying the flag "-lz" in "Other Linker Flags" (OTHER_LDFLAGS) setting in the "Linking" section in the Build settings of the target.
38+
5. Initialize curl in your code:
39+
40+
#include <curl/curl.h>
41+
42+
- (void)foo {
43+
CURL* cURL = curl_easy_init();
44+
...
45+
}
46+
47+

0 commit comments

Comments
 (0)