diff --git a/projects/pagure.io/xmlto/package.yml b/projects/pagure.io/xmlto/package.yml new file mode 100644 index 00000000..a1c1fbaa --- /dev/null +++ b/projects/pagure.io/xmlto/package.yml @@ -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}} \ No newline at end of file