-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
42 lines (42 loc) · 936 Bytes
/
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
{
"name": "esy-zlib",
"version": "1.2.11000",
"description": "zlib packaged for esy",
"esy": {
"exportedEnv": {
"CFLAGS": {
"scope": "global",
"val": "-I#{self.install / 'include'} $CFLAGS"
},
"LDFLAGS": {
"scope": "global",
"val": "-L#{self.lib} -lz $LDFLAGS"
},
"PKG_CONFIG_PATH": {
"scope": "global",
"val": "#{self.lib / 'pkgconfig' : $PKG_CONFIG_PATH }"
},
"Z_LIB_PATH": {
"val": "#{self.lib}",
"scope": "global"
}
},
"buildEnv": {
"CHOST": "#{os == 'windows' ? 'x86_64-w64-mingw32': '' }",
"CFLAGS": "-fPIC -O2"
},
"buildsInSource": true,
"build": [
[
"bash",
"-c",
"./configure --prefix=$cur__install #{os == 'windows' ? '--uname=cygwin' : ''}"
],
"make",
"make test"
],
"install": [
"make install"
]
}
}