mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-22 19:16:32 +01:00
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
This commit is contained in:
parent
55be03a50d
commit
6c2fd501ed
7 changed files with 83 additions and 0 deletions
31
steps-guix/guile-gcrypt-0.5.0/pass1.sh
Normal file
31
steps-guix/guile-gcrypt-0.5.0/pass1.sh
Normal file
|
|
@ -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
|
||||||
|
}
|
||||||
1
steps-guix/guile-gcrypt-0.5.0/sources
Normal file
1
steps-guix/guile-gcrypt-0.5.0/sources
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
f https://deb.debian.org/debian/pool/main/g/guile-gcrypt/guile-gcrypt_0.5.0.orig.tar.gz 59fafedf6bc23dce32d26400c957a4d7cd32be1fbb26d0c6992aa71777284fe3
|
||||||
27
steps-guix/libgcrypt-1.12.1/pass1.sh
Normal file
27
steps-guix/libgcrypt-1.12.1/pass1.sh
Normal file
|
|
@ -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
|
||||||
|
}
|
||||||
1
steps-guix/libgcrypt-1.12.1/sources
Normal file
1
steps-guix/libgcrypt-1.12.1/sources
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
f https://www.gnupg.org/ftp/gcrypt/libgcrypt/libgcrypt-1.12.1.tar.bz2 7df5c08d952ba33f9b6bdabdb06a61a78b2cf62d2122c2d1d03a91a79832aa3c
|
||||||
19
steps-guix/libgpg-error-1.59/pass1.sh
Normal file
19
steps-guix/libgpg-error-1.59/pass1.sh
Normal file
|
|
@ -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
|
||||||
|
}
|
||||||
1
steps-guix/libgpg-error-1.59/sources
Normal file
1
steps-guix/libgpg-error-1.59/sources
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
f https://www.gnupg.org/ftp/gcrypt/libgpg-error/libgpg-error-1.59.tar.bz2 a19bc5087fd97026d93cb4b45d51638d1a25202a5e1fbc3905799f424cfa6134
|
||||||
|
|
@ -11,3 +11,6 @@ build: musl-obstack-1.2.3
|
||||||
build: elfutils-0.194
|
build: elfutils-0.194
|
||||||
build: linux-6.12.74
|
build: linux-6.12.74
|
||||||
improve: linux64
|
improve: linux64
|
||||||
|
build: libgpg-error-1.59
|
||||||
|
build: libgcrypt-1.12.1
|
||||||
|
build: guile-gcrypt-0.5.0
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue