pantry/projects/notroj.github.io/neon/package.yml
Max Howell 81e7a5e16f
pkgx
2023-10-01 14:44:42 -04:00

32 lines
772 B
YAML

distributable:
url: https://notroj.github.io/neon/neon-{{version}}.tar.gz
strip-components: 1
versions:
github: notroj/neon/tags
dependencies:
openssl.org: '*'
build:
dependencies:
gnu.org/make: '*'
freedesktop.org/pkg-config: '*'
pagure.io/xmlto: '*'
script:
- ./configure $ARGS
- make --jobs {{ hw.concurrency }} install
env:
CFLAGS: "-Wno-implicit-function-declaration $CFLAGS"
XML_CATALOG_FILES: "{{prefix}}/etc/xml/catalog"
ARGS:
- --disable-debug
- --prefix={{prefix}}
- --enable-shared
- --disable-static
- --disable-nls
- --with-ssl=openssl
- --with-libs={{deps.openssl.org.prefix}}
provides:
- bin/neon-config
test:
script:
- neon-config --version | grep {{version}}