2023-09-05 02:46:49 +03:00
|
|
|
distributable:
|
2023-09-05 03:24:16 +03:00
|
|
|
url: https://gnupg.org/ftp/gcrypt/gpgme/gpgme-{{version.raw}}.tar.bz2
|
2023-09-05 02:46:49 +03:00
|
|
|
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/
|
2023-09-05 02:46:49 +03:00
|
|
|
strip:
|
|
|
|
- /gpgme-/
|
2023-09-05 03:24:16 +03:00
|
|
|
- /.tar.bz2/
|
2023-09-05 02:46:49 +03:00
|
|
|
|
|
|
|
provides:
|
|
|
|
- bin/gpgme-config
|
2023-09-05 03:24:16 +03:00
|
|
|
- bin/gpgme-json
|
|
|
|
- bin/gpgme-tool
|
2023-09-05 02:46:49 +03:00
|
|
|
|
|
|
|
build:
|
|
|
|
script:
|
|
|
|
- ./configure $ARGS
|
2023-09-05 03:24:16 +03:00
|
|
|
- make -j {{hw.concurrency}}
|
2023-09-05 02:46:49 +03:00
|
|
|
- make install
|
|
|
|
env:
|
|
|
|
ARGS:
|
|
|
|
- --prefix={{prefix}}
|
|
|
|
- --with-libassuan-prefix={{deps.gnupg.org/libassuan.prefix}}
|
|
|
|
- --with-libgpg-error-prefix={{deps.gnupg.org/libgpg-error.prefix}}
|
2023-10-26 05:05:40 +03:00
|
|
|
- --disable-gpg-test
|
|
|
|
- --disable-glibtest
|
|
|
|
- --disable-gpgconf-test
|
|
|
|
- --disable-gpg-test
|
|
|
|
- --disable-gpgsm-test
|
|
|
|
- --disable-g13-test
|
2023-09-05 02:46:49 +03:00
|
|
|
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}}"
|