forked from libuv/libuv
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
75 lines (75 loc) · 1.8 KB
/
package.json
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
{
"name": "libuv",
"version": "1.44.2",
"description": "Libuv packaged for esy.",
"author": "Blaine Bublitz <[email protected]>",
"license": "MIT",
"dependencies": {
"@opam/conf-cmake": "grain-lang/cmake:esy.json#1cead3871bbb27a45adab2263ef2dff4a38a8869"
},
"devDependencies": {},
"resolutions": {},
"esy": {
"build": [
[
"cmake",
"-S",
".",
"-B",
"$cur__target_dir",
"-G",
"Unix Makefiles",
"-DCMAKE_INSTALL_PREFIX=$cur__install",
"-DBUILD_TESTING=OFF",
"#{os == 'windows' ? '-DCMAKE_TOOLCHAIN_FILE=$cur__root/cmake-toolchains/cross-mingw32.cmake' : ''}",
"#{os == 'windows' ? '-DHOST_ARCH=x86_64' : ''}"
],
[
"cmake",
"--build",
"$cur__target_dir"
]
],
"install": [
[
"cmake",
"--install",
"$cur__target_dir"
]
],
"buildEnv": {
"PATH": "#{os == 'windows' ? '/usr/x86_64-w64-mingw32/sys-root/mingw/bin' : '' : $PATH }",
"CC": "#{os == 'windows' ? 'x86_64-w64-mingw32-gcc' : ''}",
"CXX": "#{os == 'windows' ? 'x86_64-w64-mingw32-g++' : ''}"
},
"exportedEnv": {
"PATH": {
"val": "#{os == 'windows' ? '/usr/x86_64-w64-mingw32/sys-root/mingw/bin' : '' : $PATH }",
"scope": "global"
},
"CMAKE_PREFIX_PATH": {
"val": "#{self.install : $CMAKE_PREFIX_PATH }",
"scope": "global"
},
"LIBUV_INCLUDE_PATH": {
"val": "#{self.install / 'include'}",
"scope": "global"
},
"LIBUV_LIB_PATH": {
"val": "#{self.lib}",
"scope": "global"
}
}
},
"scripts": {},
"installConfig": {
"pnp": false
},
"publishConfig": {
"access": "public"
},
"keywords": [
"libuv",
"esy"
]
}