pantry/projects/re2c.org/package.yml
2023-10-01 20:41:57 -04:00

22 lines
459 B
YAML

distributable:
url: https://github.com/skvadrik/re2c/releases/download/{{ version.raw }}/re2c-{{ version.raw }}.tar.xz
strip-components: 1
versions:
github: skvadrik/re2c
build:
dependencies:
freedesktop.org/pkg-config: '*'
script: |
./configure $ARGS
make --jobs {{ hw.concurrency }} install
env:
ARGS:
- --prefix="{{prefix}}"
provides:
- bin/re2c
- man/man1/re2c.1
test: re2c --version | grep {{version.marketing}}