* new file:   projects/re2c.org/package.yml

* modified:   projects/re2c.org/package.yml

* fix url & test script

* fix test and tweaks

---------

Co-authored-by: Max Howell <mxcl@me.com>
This commit is contained in:
Andrew 2023-04-21 17:01:50 +03:00 committed by GitHub
parent f3c17d61a5
commit 65ac0d11c6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -0,0 +1,28 @@
distributable:
url: https://github.com/skvadrik/re2c/releases/download/{{ version.raw }}/re2c-{{ version.raw }}.tar.xz
strip-components: 1
versions:
github: skvadrik/re2c
dependencies:
tea.xyz/gx/cc: c99
build:
dependencies:
tea.xyz/gx/cc: c99
tea.xyz/gx/make: '*'
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}}