-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathcompat.bzip2.lua
More file actions
58 lines (56 loc) · 1.95 KB
/
Copy pathcompat.bzip2.lua
File metadata and controls
58 lines (56 loc) · 1.95 KB
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
package = {
spec = "1",
namespace = "compat",
name = "bzip2",
description = "A freely available high-quality data compressor",
licenses = {"bzip2-1.0.6"},
repo = "https://sourceware.org/bzip2/",
type = "package",
xpm = {
linux = {
["1.0.8"] = {
url = {
GLOBAL = "https://sourceware.org/pub/bzip2/bzip2-1.0.8.tar.gz",
CN = "https://gitcode.com/mcpp-res/bzip2/releases/download/1.0.8/bzip2-1.0.8.tar.gz",
},
sha256 = "ab5a03176ee106d3f0fa90e381da478ddae405918153cca248e682cd0c4a2269",
},
},
macosx = {
["1.0.8"] = {
url = {
GLOBAL = "https://sourceware.org/pub/bzip2/bzip2-1.0.8.tar.gz",
CN = "https://gitcode.com/mcpp-res/bzip2/releases/download/1.0.8/bzip2-1.0.8.tar.gz",
},
sha256 = "ab5a03176ee106d3f0fa90e381da478ddae405918153cca248e682cd0c4a2269",
},
},
windows = {
["1.0.8"] = {
url = {
GLOBAL = "https://sourceware.org/pub/bzip2/bzip2-1.0.8.tar.gz",
CN = "https://gitcode.com/mcpp-res/bzip2/releases/download/1.0.8/bzip2-1.0.8.tar.gz",
},
sha256 = "ab5a03176ee106d3f0fa90e381da478ddae405918153cca248e682cd0c4a2269",
},
},
},
mcpp = {
language = "c++23",
import_std = false,
c_standard = "c11",
include_dirs = {"*"},
cflags = { "-D_GNU_SOURCE" },
sources = {
"*/blocksort.c",
"*/bzlib.c",
"*/compress.c",
"*/crctable.c",
"*/decompress.c",
"*/huffman.c",
"*/randtable.c",
},
targets = { ["bzip2"] = { kind = "lib" } },
deps = {},
},
}