comparison mupdf-source/thirdparty/curl/plan9/BUILD.PLAN9.txt @ 2:b50eed0cc0ef upstream

ADD: MuPDF v1.26.7: the MuPDF source as downloaded by a default build of PyMuPDF 1.26.4. The directory name has changed: no version number in the expanded directory now.
author Franz Glasner <fzglas.hg@dom66.de>
date Mon, 15 Sep 2025 11:43:07 +0200
parents
children
comparison
equal deleted inserted replaced
1:1d09e1dec1d9 2:b50eed0cc0ef
1 Prerequirement
2 ==============
3 This document describes how to compile, build and install curl and libcurl
4 from sources using mk. To build it, you will require to install latest
5 9legacy patches into Plan 9. Also Plan 9 still have no configuration option so
6 both zlib and libopenssl are required too.
7
8 The zlib that is available on Plan 9 can be downloaded from:
9
10 https://github.com/madler/zlib/pull/398
11
12 LibreSSL Portable can be downloaded from:
13
14 https://github.com/libressl-portable/portable/pull/510
15
16 Instruction
17 ===========
18 First, you should construct namespace as like described below:
19
20 % bind -ac ../lib lib
21 % bind -ac ../src src
22 % bind -ac ../include include
23 % bind -ac .. .
24
25 Then you will see as shown below (excerpt):
26
27 curl.git/
28 |_plan9
29 | |_BUILD.PLAN9.txt
30 | |_CHANGES
31 | |_CMake
32 | | :
33 | |_mkfile
34 | |_mkfile.proto
35 | |_include
36 | | |_Makefile.am
37 | | | :
38 | | |_mkfile
39 | |_lib
40 | | |_CMakeLists.txt
41 | | | :
42 | | |_mkfile
43 | | |_mkfile.inc
44 | |_src
45 | | |_CMakeLists.txt
46 | | | :
47 | | |_mkfile
48 | | |_mkfile.inc
49 |_lib
50 |_src
51
52 After constructing namespace, you can run mk on plan9 directory.
53
54 % mk
55 % mk install