pantry/projects/pagure.io/xmlto/package.yml
2023-04-28 14:33:15 -04:00

37 lines
675 B
YAML

distributable:
url: https://releases.pagure.org/xmlto/xmlto-0.0.28.tar.gz
strip-components: 1
versions:
url: https://releases.pagure.org/xmlto/
match: /xmlto-\d+\.\d+\.\d+.tar.gz/
strip:
- /^xmlto-/
- /\.tar\.gz$/
dependencies:
docbook.org: '*'
github.com/util-linux/util-linux: '*'
darwin:
gnome.org/libxslt: '*'
build:
dependencies:
tea.xyz/gx/cc: c99
tea.xyz/gx/make: '*'
script: |
./configure $ARGS
make --jobs {{ hw.concurrency }} install
env:
ARGS:
- --prefix="{{prefix}}"
- --disable-dependency-tracking
provides:
- bin/xmlif
- bin/xmlto
test:
script:
xmlto --version | grep {{version}}