Commit 485961a
committed
feat(zlib): drop configure-project-installer, inline configure+make build
Switch fromsource:zlib from the legacy xim:configure-project-installer
shim flow to its own inline build, applying the cluster-A sandbox-fix
template:
* paths derived from pkginfo.install_file() (path.absolute is nil)
* configure + make + make install chained in a single sh -c (zlib's
configure does not support out-of-tree build, run from srcdir)
* fixed -j8 (os.cpuinfo is nil)
* sysroot include dir wrapped in _sys_usr_includedir() helper
* zlib.h / zconf.h copy uses shell cp instead of os.cd + os.cp(file)
* declare upstream url + sha256 (mirroring scode:zlib's github source)
* license corrected: was a URL, now SPDX "Zlib"
Verified end-to-end in an isolated xlings 0.4.9 environment:
✓ configure -> make -j8 -> make install
✓ produced libz.so.1.3.1 + libz.a + libz.so/libz.so.1 symlinks
✓ headers staged into install_dir/include
✓ "8 package(s) installed" exit 0
Cluster B leaf 1/8.1 parent 18ebabe commit 485961a
1 file changed
Lines changed: 35 additions & 14 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
1 | 5 | | |
2 | 6 | | |
3 | 7 | | |
| |||
8 | 12 | | |
9 | 13 | | |
10 | 14 | | |
11 | | - | |
| 15 | + | |
12 | 16 | | |
13 | 17 | | |
14 | 18 | | |
| |||
26 | 30 | | |
27 | 31 | | |
28 | 32 | | |
29 | | - | |
30 | 33 | | |
31 | 34 | | |
32 | 35 | | |
33 | 36 | | |
34 | | - | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
35 | 41 | | |
36 | 42 | | |
37 | 43 | | |
| |||
48 | 54 | | |
49 | 55 | | |
50 | 56 | | |
51 | | - | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
52 | 60 | | |
53 | 61 | | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
58 | 75 | | |
59 | 76 | | |
60 | 77 | | |
| |||
80 | 97 | | |
81 | 98 | | |
82 | 99 | | |
83 | | - | |
84 | | - | |
85 | | - | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
86 | 106 | | |
87 | 107 | | |
88 | 108 | | |
| |||
94 | 114 | | |
95 | 115 | | |
96 | 116 | | |
97 | | - | |
98 | | - | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
99 | 120 | | |
100 | 121 | | |
101 | | - | |
| 122 | + | |
0 commit comments