2022-10-07 17:32:11 +03:00
|
|
|
distributable:
|
|
|
|
url: https://gnupg.org/ftp/gcrypt/libassuan/libassuan-{{version}}.tar.bz2
|
|
|
|
strip-components: 1
|
|
|
|
|
|
|
|
versions:
|
2023-05-01 20:14:59 +03:00
|
|
|
url: https://gnupg.org/ftp/gcrypt/libassuan/
|
|
|
|
match: /libassuan-(\d+\.\d+(\.\d+)?)\.tar\.bz2/
|
|
|
|
strip:
|
|
|
|
- /libassuan-/
|
|
|
|
- /.tar.bz2/
|
2022-10-07 17:32:11 +03:00
|
|
|
|
|
|
|
provides:
|
|
|
|
- bin/libassuan-config
|
|
|
|
|
|
|
|
build:
|
|
|
|
script: |
|
|
|
|
./configure --prefix={{prefix}}
|
|
|
|
make
|
|
|
|
make check
|
|
|
|
make install
|
|
|
|
dependencies:
|
|
|
|
gnupg.org/libgpg-error: 1
|
2024-06-21 19:57:51 +03:00
|
|
|
env:
|
|
|
|
darwin:
|
|
|
|
# otherwise it tries to link both libc++ and libstdc++, which gives
|
|
|
|
# duplicate symbol errors.
|
|
|
|
CFLAGS: $CFLAGS -std=gnu89
|
|
|
|
CXXFLAGS: '$CXXFLAGS -stdlib=libstdc++ -std=c++03'
|
2022-10-07 17:32:11 +03:00
|
|
|
|
|
|
|
test:
|
|
|
|
script: test "$(libassuan-config --version)" = "{{version}}"
|