2022-10-07 17:32:11 +03:00
|
|
|
distributable:
|
|
|
|
url: https://gnupg.org/ftp/gcrypt/libgcrypt/libgcrypt-{{version}}.tar.bz2
|
|
|
|
strip-components: 1
|
|
|
|
|
|
|
|
versions:
|
2023-05-01 20:14:59 +03:00
|
|
|
url: https://gnupg.org/ftp/gcrypt/libgcrypt/
|
|
|
|
match: /libgcrypt-(\d+\.\d+(\.\d+)?)\.tar\.bz2/
|
|
|
|
strip:
|
|
|
|
- /libgcrypt-/
|
|
|
|
- /.tar.bz2/
|
2022-10-07 17:32:11 +03:00
|
|
|
|
|
|
|
provides:
|
|
|
|
- bin/dumpsexp
|
|
|
|
- bin/hmac256
|
|
|
|
- bin/libgcrypt-config
|
|
|
|
- bin/mpicalc
|
|
|
|
|
|
|
|
build:
|
|
|
|
dependencies:
|
|
|
|
tea.xyz/gx/cc: c99
|
|
|
|
tea.xyz/gx/make: '*'
|
|
|
|
gnupg.org/libgpg-error: 1
|
2023-04-15 02:45:27 +03:00
|
|
|
script: |
|
|
|
|
./configure $ARGS
|
|
|
|
make
|
|
|
|
make check
|
|
|
|
make install
|
|
|
|
env:
|
|
|
|
ARGS:
|
|
|
|
- --prefix={{prefix}}
|
|
|
|
linux/x86-64:
|
|
|
|
ARGS:
|
|
|
|
# basic.c:317:16: error: inline assembly requires more registers than available
|
|
|
|
# asm volatile("movdqu %[data0], %%xmm0\n"
|
|
|
|
- --disable-asm
|
2022-10-07 17:32:11 +03:00
|
|
|
|
|
|
|
test:
|
|
|
|
script: |
|
|
|
|
OUT=$(echo foo | hmac256 -)
|
|
|
|
test "$OUT" = "9619c032ccc62b07274634a032c322580848455327d4a9aa3d323702673cf2a2"
|