pantry/projects/gnupg.org/libassuan/package.yml
Max Howell 81e7a5e16f
pkgx
2023-10-01 14:44:42 -04:00

25 lines
515 B
YAML

distributable:
url: https://gnupg.org/ftp/gcrypt/libassuan/libassuan-{{version}}.tar.bz2
strip-components: 1
versions:
url: https://gnupg.org/ftp/gcrypt/libassuan/
match: /libassuan-(\d+\.\d+(\.\d+)?)\.tar\.bz2/
strip:
- /libassuan-/
- /.tar.bz2/
provides:
- bin/libassuan-config
build:
script: |
./configure --prefix={{prefix}}
make
make check
make install
dependencies:
gnupg.org/libgpg-error: 1
test:
script: test "$(libassuan-config --version)" = "{{version}}"