fix(steps-guix): add unzip/sqlite/guile-sqlite3 build scripts and enable them in manifest

This commit is contained in:
vxtls 2026-02-26 22:27:27 -05:00
parent 5d63dc3c5e
commit 8f60091ed2
7 changed files with 93 additions and 3 deletions

View file

@ -0,0 +1,30 @@
# SPDX-License-Identifier: GPL-3.0-or-later
src_prepare() {
default
autoreconf -fi
}
src_configure() {
local host_triplet pkg_config_path
host_triplet="$(gcc -dumpmachine)"
pkg_config_path="${LIBDIR}/pkgconfig"
PATH="${PREFIX}/bin:/usr/bin:/bin" \
PKG_CONFIG_LIBDIR="${pkg_config_path}" \
PKG_CONFIG_PATH="${pkg_config_path}" \
LD_LIBRARY_PATH="${LIBDIR}:${LD_LIBRARY_PATH}" \
./configure \
--prefix="${PREFIX}" \
--libdir="${LIBDIR}" \
--host="${host_triplet}" \
--build="${host_triplet}"
}
src_compile() {
default_src_compile
}
src_install() {
default_src_install
}

View file

@ -0,0 +1 @@
f https://deb.debian.org/debian/pool/main/g/guile-sqlite3/guile-sqlite3_0.1.3.orig.tar.gz 158cb82958c6329319f911412999ea125980f327f54185bf0dad271d6f8f45c2

View file

@ -23,8 +23,8 @@ build: nettle-3.10.2
build: libtasn1-v4.21.0 build: libtasn1-v4.21.0
build: gnutls-3.8.12 build: gnutls-3.8.12
build: guile-gnutls-v5.0.1 build: guile-gnutls-v5.0.1
# build: unzip-6.0 build: unzip-6.0
# build: sqlite-3510200 build: sqlite-3510200
# build: guile-sqlite3-0.1.3 build: guile-sqlite3-0.1.3
improve: after improve: after

View file

@ -0,0 +1,42 @@
# SPDX-License-Identifier: GPL-3.0-or-later
src_unpack() {
local url fname
url="$(awk 'NR==1 { print $2 }' ../sources)"
fname="$(awk 'NR==1 { print $4 }' ../sources)"
if [ -z "${fname}" ]; then
fname="$(basename "${url}")"
fi
cp "${DISTFILES}/${fname}" .
unzip -q "${fname}"
dirname="${fname%.zip}"
}
src_prepare() {
default
}
src_configure() {
local host_triplet
host_triplet="$(gcc -dumpmachine)"
PATH="${PREFIX}/bin:/usr/bin:/bin" \
./configure \
--prefix="${PREFIX}" \
--libdir="${LIBDIR}" \
--host="${host_triplet}" \
--build="${host_triplet}" \
--disable-tcl
}
src_compile() {
default_src_compile
}
src_install() {
default_src_install
}

View file

@ -0,0 +1 @@
f https://sqlite.org/2026/sqlite-src-3510200.zip 85110f762d5079414d99dd5d7917bc3ff7e05876e6ccbd13d8496a3817f20829

15
steps-guix/unzip-6.0/pass1.sh Executable file
View file

@ -0,0 +1,15 @@
# SPDX-License-Identifier: GPL-3.0-or-later
src_prepare() {
default
}
src_compile() {
make "${MAKEJOBS}" -f unix/Makefile generic_gcc
}
src_install() {
make -f unix/Makefile install \
BINDIR="${DESTDIR}${PREFIX}/bin" \
MANDIR="${DESTDIR}${PREFIX}/share/man/man1"
}

View file

@ -0,0 +1 @@
f https://downloads.sourceforge.net/infozip/unzip60.tar.gz 036d96991646d0449ed0aa952e4fbe21b476ce994abc276e49d30e686708bd37