live-bootstrap/steps-guix/libgcrypt-1.12.1/pass1.sh
vxtls 6c2fd501ed feat(steps-guix): add default libgpg-error-1.59 build script
feat(steps-guix): add libgcrypt-1.12.1 default build with gcc-detected host and pkg-config path
feat(steps-guix): add guile-gcrypt-0.5.0 with dynamic libgcrypt prefix and ld library path
2026-02-23 11:28:40 -05:00

27 lines
546 B
Bash

# SPDX-License-Identifier: GPL-3.0-or-later
src_prepare() {
default
}
src_configure() {
local host_triplet
host_triplet="$(gcc -dumpmachine)"
PATH="${PREFIX}/bin:/usr/bin:/bin" \
PKG_CONFIG_PATH="${LIBDIR}/pkgconfig:${PREFIX}/lib/pkgconfig" \
./configure \
--prefix="${PREFIX}" \
--libdir="${LIBDIR}" \
--includedir="${PREFIX}/include" \
--host="${host_triplet}" \
--build="${host_triplet}"
}
src_compile() {
default_src_compile
}
src_install() {
default_src_install
}