-
Notifications
You must be signed in to change notification settings - Fork 0
/
esy.json
29 lines (29 loc) · 971 Bytes
/
esy.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
{
"//": "Keys that start with // are ignored",
"name": "esy-hello",
"version": "0.0.1000",
"// version": "See readme and docs on how to version packages",
"description": "hello packaged for esy",
"source": "https://github.com/esy/test-hello-c/archive/0.1.0.zip#sha256:e1bd9924eb5d97d99c9b87f9a4a95b734e111cd6dd01464358029c751d57d693",
"override": {
"buildEnv": {
"//": "Only for illustrative purpose. Not a real, useful package",
"PREFIX": "$cur__install",
"CC_PREFIX": "#{os == 'windows' ? 'x86_64-w64-mingw32-': '' }"
},
"build": [
"./configure --prefix=#{self.install} #{os == 'windows'? '--host x86_64-w64-mingw32': ''}",
"make -j#{self.jobs}"
],
"install": "make install",
"buildsInSource": true,
"exportedEnv": {
"//": "This is just an example",
"PKG_CONFIG_PATH": {
"val": "#{self.lib / 'pkgconfig'}",
"scope": "global"
}
},
"dependencies": {}
}
}