-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
54 lines (54 loc) · 1.56 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
{
"name": "postgresql",
"version": "9.6.16",
"description": "PostgreSQL packaged for Esy",
"license": "PostgreSQL Licence",
"source": "https://ftp.postgresql.org/pub/source/v9.6.16/postgresql-9.6.16.tar.gz#911d4efc0c428875c1928f98c72e426d22231e59",
"override": {
"buildEnv": {
"CFLAGS": "-I#{esy-openssl.install / 'include'} $CFLAGS",
"LDFLAGS": "-L#{esy-openssl.lib} -lcrypto $LDFLAGS"
},
"build": [
"find ./ -exec touch -t 200905010101 {} +",
"./configure #{os == 'windows' ? '--host x86_64-w64-mingw32': '' } --prefix=$cur__install --with-openssl --without-readline --disable-debug --enable-thread-safety",
"make"
],
"install": "make install",
"buildsInSource": true,
"exportedEnv": {
"PKG_CONFIG_PATH": {
"val": "#{self.lib / 'pkgconfig'}",
"scope": "global"
},
"LDFLAGS": {
"scope": "global",
"val": "-L#{self.lib} -lpq"
},
"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"
},
"PATH": {
"scope": "global",
"val": "#{self.bin}:$PATH"
}
},
"dependencies": {
"esy-zlib": "esy-packages/esy-zlib",
"esy-openssl": "esy-packages/esy-openssl"
}
}
}