mirror of
https://github.com/ivabus/pantry
synced 2024-11-29 19:55:06 +03:00
+pcre2 (#416)
* add pcre2 * Let’s name it coherent to our existing namespacing * Add notes --------- Co-authored-by: Max Howell <mxcl@me.com>
This commit is contained in:
parent
7461d15058
commit
e12630ce94
1 changed files with 39 additions and 0 deletions
39
projects/pcre.org/v2/package.yml
Normal file
39
projects/pcre.org/v2/package.yml
Normal file
|
@ -0,0 +1,39 @@
|
||||||
|
distributable:
|
||||||
|
url: https://github.com/PCRE2Project/pcre2/releases/download/pcre2-{{version.major}}.{{version.minor}}/pcre2-{{version.major}}.{{version.minor}}.tar.gz
|
||||||
|
strip-components: 1
|
||||||
|
|
||||||
|
#NOTE see pcre.org for “pcre original flavor”
|
||||||
|
#NOTE this yaml is almost identical
|
||||||
|
|
||||||
|
versions:
|
||||||
|
github: PCRE2Project/pcre2/tags # reads github tags from github
|
||||||
|
strip: /^pcre2-/
|
||||||
|
|
||||||
|
dependencies:
|
||||||
|
sourceware.org/bzip2: 1
|
||||||
|
zlib.net: 1
|
||||||
|
|
||||||
|
build:
|
||||||
|
dependencies:
|
||||||
|
tea.xyz/gx/cc: c99
|
||||||
|
tea.xyz/gx/make: '*'
|
||||||
|
script: |
|
||||||
|
./configure $ARGS
|
||||||
|
make --jobs {{ hw.concurrency }}
|
||||||
|
make install
|
||||||
|
env:
|
||||||
|
ARGS:
|
||||||
|
- --prefix={{ prefix }}
|
||||||
|
- --enable-pcre2-16
|
||||||
|
- --enable-pcre2-32
|
||||||
|
- --enable-pcre2grep-libz
|
||||||
|
- --enable-pcre2grep-libbz2
|
||||||
|
- --enable-jit
|
||||||
|
|
||||||
|
provides:
|
||||||
|
- bin/pcre2-config
|
||||||
|
- bin/pcre2grep
|
||||||
|
- bin/pcre2test
|
||||||
|
|
||||||
|
test:
|
||||||
|
script: pcre2grep "regular expression" {{ prefix }}/share/doc/pcre2/README
|
Loading…
Reference in a new issue