pantry/projects/gnupg.org/npth/package.yml
2023-10-01 20:41:57 -04:00

24 lines
479 B
YAML

distributable:
url: https://gnupg.org/ftp/gcrypt/npth/npth-{{version.raw}}.tar.bz2
strip-components: 1
versions:
url: https://gnupg.org/ftp/gcrypt/npth/
match: /npth-(\d+\.\d+(\.\d+)?)\.tar\.bz2/
strip:
- /npth-/
- /.tar.bz2/
provides:
- bin/npth-config
build:
script: |
./configure --prefix={{prefix}}
make
make check
make install
#FIXME we test using our version, not theirs
test: test "$(npth-config --version).0" = "{{version.raw}}"