mirror of
https://github.com/ivabus/pantry
synced 2024-11-26 02:15:06 +03:00
83627e7d46
closes #3823 wip wip wip wip wip
40 lines
1,023 B
YAML
40 lines
1,023 B
YAML
distributable:
|
|
url: https://gnupg.org/ftp/gcrypt/gpgme/gpgme-{{version.raw}}.tar.bz2
|
|
strip-components: 1
|
|
|
|
versions:
|
|
url: https://gnupg.org/ftp/gcrypt/gpgme/
|
|
match: /gpgme-\d+\.\d+(\.\d+)?\.tar\.bz2/
|
|
strip:
|
|
- /gpgme-/
|
|
- /.tar.bz2/
|
|
|
|
provides:
|
|
- bin/gpgme-config
|
|
- bin/gpgme-json
|
|
- bin/gpgme-tool
|
|
|
|
build:
|
|
script:
|
|
- ./configure $ARGS
|
|
- make -j {{hw.concurrency}}
|
|
- make install
|
|
env:
|
|
ARGS:
|
|
- --prefix={{prefix}}
|
|
- --with-libassuan-prefix={{deps.gnupg.org/libassuan.prefix}}
|
|
- --with-libgpg-error-prefix={{deps.gnupg.org/libgpg-error.prefix}}
|
|
- --disable-gpg-test
|
|
- --disable-glibtest
|
|
- --disable-gpgconf-test
|
|
- --disable-gpg-test
|
|
- --disable-gpgsm-test
|
|
- --disable-g13-test
|
|
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}}"
|