diff --git a/steps-guix/guile-gcrypt-0.5.0/pass1.sh b/steps-guix/guile-gcrypt-0.5.0/pass1.sh new file mode 100644 index 00000000..20546ed1 --- /dev/null +++ b/steps-guix/guile-gcrypt-0.5.0/pass1.sh @@ -0,0 +1,31 @@ +# SPDX-License-Identifier: GPL-3.0-or-later + +src_prepare() { + default +} + +src_configure() { + local host_triplet pkg_config_path libgcrypt_prefix libgcrypt_libdir + host_triplet="$(gcc -dumpmachine)" + pkg_config_path="${LIBDIR}/pkgconfig:${PREFIX}/lib/pkgconfig" + libgcrypt_prefix="$(PKG_CONFIG_PATH="${pkg_config_path}" pkg-config --variable=prefix libgcrypt)" + libgcrypt_libdir="$(PKG_CONFIG_PATH="${pkg_config_path}" pkg-config --variable=libdir libgcrypt)" + + PATH="${PREFIX}/bin:/usr/bin:/bin" \ + PKG_CONFIG_PATH="${pkg_config_path}" \ + LD_LIBRARY_PATH="${libgcrypt_libdir}:${LIBDIR}:${PREFIX}/lib:${LD_LIBRARY_PATH}" \ + ./configure \ + --prefix="${PREFIX}" \ + --libdir="${LIBDIR}" \ + --host="${host_triplet}" \ + --build="${host_triplet}" \ + --with-libgcrypt-prefix="${libgcrypt_prefix}" +} + +src_compile() { + default_src_compile +} + +src_install() { + default_src_install +} diff --git a/steps-guix/guile-gcrypt-0.5.0/sources b/steps-guix/guile-gcrypt-0.5.0/sources new file mode 100644 index 00000000..d96a0bb3 --- /dev/null +++ b/steps-guix/guile-gcrypt-0.5.0/sources @@ -0,0 +1 @@ +f https://deb.debian.org/debian/pool/main/g/guile-gcrypt/guile-gcrypt_0.5.0.orig.tar.gz 59fafedf6bc23dce32d26400c957a4d7cd32be1fbb26d0c6992aa71777284fe3 diff --git a/steps-guix/libgcrypt-1.12.1/pass1.sh b/steps-guix/libgcrypt-1.12.1/pass1.sh new file mode 100644 index 00000000..8f68b703 --- /dev/null +++ b/steps-guix/libgcrypt-1.12.1/pass1.sh @@ -0,0 +1,27 @@ +# 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 +} diff --git a/steps-guix/libgcrypt-1.12.1/sources b/steps-guix/libgcrypt-1.12.1/sources new file mode 100644 index 00000000..3d70783e --- /dev/null +++ b/steps-guix/libgcrypt-1.12.1/sources @@ -0,0 +1 @@ +f https://www.gnupg.org/ftp/gcrypt/libgcrypt/libgcrypt-1.12.1.tar.bz2 7df5c08d952ba33f9b6bdabdb06a61a78b2cf62d2122c2d1d03a91a79832aa3c diff --git a/steps-guix/libgpg-error-1.59/pass1.sh b/steps-guix/libgpg-error-1.59/pass1.sh new file mode 100644 index 00000000..99469261 --- /dev/null +++ b/steps-guix/libgpg-error-1.59/pass1.sh @@ -0,0 +1,19 @@ +# SPDX-License-Identifier: GPL-3.0-or-later + +src_prepare() { + default +} + +src_configure() { + ./configure \ + --prefix="${PREFIX}" \ + --libdir="${LIBDIR}" +} + +src_compile() { + default_src_compile +} + +src_install() { + default_src_install +} diff --git a/steps-guix/libgpg-error-1.59/sources b/steps-guix/libgpg-error-1.59/sources new file mode 100644 index 00000000..a7ff5de0 --- /dev/null +++ b/steps-guix/libgpg-error-1.59/sources @@ -0,0 +1 @@ +f https://www.gnupg.org/ftp/gcrypt/libgpg-error/libgpg-error-1.59.tar.bz2 a19bc5087fd97026d93cb4b45d51638d1a25202a5e1fbc3905799f424cfa6134 diff --git a/steps-guix/manifest b/steps-guix/manifest index 7dbb9e41..b5a27812 100644 --- a/steps-guix/manifest +++ b/steps-guix/manifest @@ -11,3 +11,6 @@ build: musl-obstack-1.2.3 build: elfutils-0.194 build: linux-6.12.74 improve: linux64 +build: libgpg-error-1.59 +build: libgcrypt-1.12.1 +build: guile-gcrypt-0.5.0