pantry/projects/pagure.io/xmlto/package.yml
2023-10-01 20:41:57 -04:00

33 lines
608 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:
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}}