pantry/projects/gnupg.org/gpgme/package.yml

38 lines
944 B
YAML
Raw Normal View History

distributable:
2023-09-05 03:24:16 +03:00
url: https://gnupg.org/ftp/gcrypt/gpgme/gpgme-{{version.raw}}.tar.bz2
strip-components: 1
versions:
url: https://gnupg.org/ftp/gcrypt/gpgme/
2023-09-05 03:24:16 +03:00
match: /gpgme-\d+\.\d+(\.\d+)?\.tar\.bz2/
strip:
- /gpgme-/
2023-09-05 03:24:16 +03:00
- /.tar.bz2/
provides:
- bin/gpgme-config
2023-09-05 03:24:16 +03:00
- bin/gpgme-json
- bin/gpgme-tool
build:
script:
2023-09-05 03:24:16 +03:00
- killall gpg-agent || true
- gpg-agent --daemon
- ./configure $ARGS
2023-09-05 03:24:16 +03:00
- make -j {{hw.concurrency}}
- make install
2023-09-05 03:24:16 +03:00
- killall gpg-agent || true
env:
ARGS:
- --prefix={{prefix}}
- --with-libassuan-prefix={{deps.gnupg.org/libassuan.prefix}}
- --with-libgpg-error-prefix={{deps.gnupg.org/libgpg-error.prefix}}
CFLAGS: $CFLAGS -Wno-implicit-function-declaration
CXXFLAGS: $CXXFLAGS -std=c++14
dependencies:
gnupg.org: '*'
gnupg.org/libassuan: ^2.0.2
gnupg.org/libgpg-error: ^1.11
test:
script: test "$(gpgme-config --version)" = "{{version}}"