generated from esy-packages/template
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathesy.json
39 lines (39 loc) · 1.04 KB
/
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
30
31
32
33
34
35
36
37
38
39
{
"name": "esy-gmp",
"version": "6.3.0",
"description": "GMP packaged for esy",
"source": "https://ftp.gnu.org/gnu/gmp/gmp-6.3.0.tar.xz#sha256:a3c2b80201b89e68616f4ad30bc66aee4927c3ce50e33929ca819d5c43538898",
"override": {
"buildEnv": {},
"build": ["bash ./esy-configure.sh", "make -j8"],
"install": "make install",
"buildsInSource": true,
"exportedEnv": {
"LDFLAGS": {
"scope": "global",
"val": "-L#{self.lib} -lgmp"
},
"CPPFLAGS": {
"scope": "global",
"val": "-I#{self.install / 'include'}"
},
"LD_LIBRARY_PATH": {
"scope": "global",
"val": "#{self.lib}:$LD_LIBRARY_PATH"
},
"LIBRARY_PATH": {
"scope": "global",
"val": "#{self.lib}:$LIBRARY_PATH"
},
"CPATH": {
"scope": "global",
"val": "#{self.install / 'include'}:$CPATH"
},
"PKG_CONFIG_PATH": {
"val": "#{self.lib / 'pkgconfig' : $PKG_CONFIG_PATH}",
"scope": "global"
}
},
"dependencies": {}
}
}