pantry/projects/pcre.org/package.yml

41 lines
1,022 B
YAML
Raw Permalink Normal View History

distributable:
#FIXME certs issue
# url: https://downloads.sourceforge.net/project/pcre/pcre/{{ version.raw }}/pcre-{{ version.raw }}.tar.bz2
url: https://cytranet.dl.sourceforge.net/project/pcre/pcre/{{ version.raw }}/pcre-{{ version.raw }}.tar.bz2
strip-components: 1
# commonly called PCRE2 starts at semver v10
# PCRE (unmaintained) goes up to 8.45
# despite PCRE being unmaintained, most stuff still uses it, lol
versions:
replace hardcoded versions (mostly) (#1733) * update(slirp) * update(poppler-data) * update(doxygen) * update(xcb) * update(sm) * update(xdmcp) * update(ice) * update(util-macros) * update(xtrans) * update(xmu) * update(xt) * update(xau) * update(xrender) * update(x11) * update(xcb-proto) * update(xpm) * update(xaw) * update(xorg-protocol) * update(exts) * update(lame) * update(nmap) * update(cairo) * update(unicode) * update(gts) * update(vim) * update(libtiff) * update(lua) * comment(bpb) * update(giflib) * update(gdk-pixbuf) * update(gobj-intro) * update(libcap2) * update(gnuplot) * update(dav1d) * update(wumpus) * update(librist) * update(subversion) * comment(jbig2dec) * update(moreutils) * update(eigen) * update(ogg) * update(musl) * update(libtool) * update(isl) * update(coreutils) * update(wget) * update(gmp) * update(libiconv) * update(stow) * update(sed) * update(gperf) * update(libunistring) * update(grep) * update(patch) * update(tar) * update(autoconf) * update(libgpg-error) * update(automake) * update(libksba) * update(npth) * update(libgcrypt) * update(libidn) * update(libassuan) * update(gnupg) * update(libtasn1) * update(ncdu) * update(freexl) * update(nasm) * update(ffmpeg) * update(libsodium) * update(mpg123) * update(freetype) * update(dnsmasq) * update(postgres) * update(xz) * update(docutils) * update(aom) * update(libssh) * update(gitlab-cli) * update(watch) * update(tree) * update(c-ares) * update(mpdecimal) * update(lzo) * update(graphviz) * update(nano) * update(yasm) * update(expect) * update(pcre) * update(file) * update(shared-mime-info) * use `gitlab:` builtin
2023-05-01 20:14:59 +03:00
url: https://sourceforge.net/projects/pcre/files/pcre/
match: /pcre\/\d+(\.\d+)+\//
strip:
- /pcre\//
- /\//
dependencies:
sourceware.org/bzip2: 1
zlib.net: 1
build:
script: |
./configure \
--prefix={{ prefix }} \
--enable-pcre2-16 \
--enable-pcre2-32 \
--enable-pcre2grep-libz \
--enable-pcre2grep-libbz2 \
--enable-jit
make --jobs {{ hw.concurrency }}
make install
test:
script: pcregrep "regular expression" {{ prefix }}/share/doc/pcre/README
2022-11-18 21:43:48 +03:00
provides:
- bin/pcre-config
- bin/pcregrep
- bin/pcretest