new file: projects/pagure.io/xmlto/package.yml

This commit is contained in:
andrejrabcenko 2023-04-28 19:13:19 +03:00 committed by Max Howell
parent f4e930acdb
commit ac74dd5961

View file

@ -0,0 +1,37 @@
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}}