generated from esy-packages/template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathesy.json
25 lines (25 loc) · 933 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
{
"name": "esy-pcre2",
"version": "10.44.0",
"description": "pcre2 packaged for esy",
"source": "https://github.com/PCRE2Project/pcre2/releases/download/pcre2-10.44/pcre2-10.44.tar.bz2#sha256:d34f02e113cf7193a1ebf2770d3ac527088d485d4e047ed10e5d217c6ef5de96",
"override": {
"build": [
"find ./ -exec touch -t 200905010101 {} +",
"./configure #{os == 'darwin'? '--disable-dependency-tracking': ''} --prefix=#{self.install} #{os == 'windows'? '--host x86_64-w64-mingw32': ''} --enable-pcre2-8 --enable-pcre2-16 --enable-pcre2-32 --enable-jit #{os == 'windows'? '--disable-shared --enable-static': ''}",
"make -j#{self.jobs}"
],
"install": "make install",
"buildsInSource": true,
"exportedEnv": {
"PKG_CONFIG_PATH": {
"val": "#{self.lib / 'pkgconfig'}",
"scope": "global"
}
},
"dependencies": {
"esy-zlib": "*",
"esy-bzip2": "*"
}
}
}