mirror of
https://github.com/ivabus/pantry
synced 2024-11-25 18:05:07 +03:00
gpgme (#3200)
* gpgme - wip * fix prefix * fix libgpg-error --------- Co-authored-by: Jacob Heider <jacob@tea.xyz>
This commit is contained in:
parent
3c7f69ff55
commit
90c2160bbe
2 changed files with 37 additions and 1 deletions
34
projects/gnupg.org/gpgme/package.yml
Normal file
34
projects/gnupg.org/gpgme/package.yml
Normal file
|
@ -0,0 +1,34 @@
|
||||||
|
distributable:
|
||||||
|
url: https://gnupg.org/ftp/gcrypt/gpgme/gpgme-{{version.raw}}.tar.gz
|
||||||
|
strip-components: 1
|
||||||
|
|
||||||
|
versions:
|
||||||
|
url: https://gnupg.org/ftp/gcrypt/gpgme/
|
||||||
|
match: /gpgme-\d+\.\d+(\.\d+)?\.tar\.gz/
|
||||||
|
strip:
|
||||||
|
- /gpgme-/
|
||||||
|
- /.tar.gz/
|
||||||
|
|
||||||
|
provides:
|
||||||
|
- bin/gpgme-config
|
||||||
|
|
||||||
|
build:
|
||||||
|
script:
|
||||||
|
- ./configure $ARGS
|
||||||
|
- make
|
||||||
|
- make install
|
||||||
|
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:
|
||||||
|
tea.xyz/gx/cc: c99
|
||||||
|
tea.xyz/gx/make: '*'
|
||||||
|
gnupg.org: '*'
|
||||||
|
gnupg.org/libassuan: ^2.0.2
|
||||||
|
gnupg.org/libgpg-error: ^1.11
|
||||||
|
test:
|
||||||
|
script: test "$(gpgme-config --version)" = "{{version}}"
|
|
@ -11,12 +11,14 @@ versions:
|
||||||
|
|
||||||
provides:
|
provides:
|
||||||
- bin/gpg-error
|
- bin/gpg-error
|
||||||
|
# Deprecated, but required for gpgme
|
||||||
|
- bin/gpg-error-config
|
||||||
- bin/gpgrt-config
|
- bin/gpgrt-config
|
||||||
- bin/yat2m
|
- bin/yat2m
|
||||||
|
|
||||||
build:
|
build:
|
||||||
script: |
|
script: |
|
||||||
./configure --prefix={{prefix}}
|
./configure --prefix={{prefix}} --enable-install-gpg-error-config
|
||||||
make
|
make
|
||||||
make check
|
make check
|
||||||
make install
|
make install
|
||||||
|
|
Loading…
Reference in a new issue