# libgpg-error 1.61 — VARIANTE PIC para la campaña KDE (ADR 0011, Capa 0). Igual que la canónica
# (recipes/libgpg-error.toml) pero con --with-pic: kwallet linka libgpg-error DENTRO de libKF6Wallet.so
# (dinámico) y un .a sin PIC da "recompile with -fPIC". Override incoming-kde (mismo name, gana al
# construir desde esta cola). Mismo patrón static↔dinámico que zstd/util-linux-shared.
name    = "libgpg-error"
version = "1.61"
license = "LGPL-2.1-or-later"

[source]
tarball = "https://gnupg.org/ftp/gcrypt/libgpg-error/libgpg-error-1.61.tar.bz2"
sha256  = "7a85413f2bc354f4f8aa832b718af122e48965e9e0eb9012ee659c13c6385c93"

[build]
compiler = "gcc"
target   = "x86_64-linux-musl"
link     = "static"
flags    = []

[build.phases]
configure = './configure --build=$CBUILD --host=$CHOST --prefix=/usr --disable-shared --enable-static --with-pic --disable-doc --disable-tests --enable-install-gpg-error-config'
compile   = 'make'
install   = 'make DESTDIR=/out install'
