pantry/projects/github.com/kkos/oniguruma/package.yml
Max Howell 81e7a5e16f
pkgx
2023-10-01 14:44:42 -04:00

20 lines
407 B
YAML

distributable:
url: https://github.com/kkos/oniguruma/releases/download/v{{version}}/onig-{{version}}.tar.gz
strip-components: 1
versions:
github: kkos/oniguruma
strip: /[rR]elease /
provides:
- bin/onig-config
build:
dependencies:
script: |
./configure --disable-dependency-tracking --prefix={{prefix}}
make install
test:
script: test "$(onig-config --version)" = "{{version}}"