diff --git a/steps-guix/guile-sqlite3-0.1.3/pass1.sh b/steps-guix/guile-sqlite3-0.1.3/pass1.sh new file mode 100755 index 00000000..2b1c0537 --- /dev/null +++ b/steps-guix/guile-sqlite3-0.1.3/pass1.sh @@ -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 +} diff --git a/steps-guix/guile-sqlite3-0.1.3/sources b/steps-guix/guile-sqlite3-0.1.3/sources new file mode 100644 index 00000000..44a9c687 --- /dev/null +++ b/steps-guix/guile-sqlite3-0.1.3/sources @@ -0,0 +1 @@ +f https://deb.debian.org/debian/pool/main/g/guile-sqlite3/guile-sqlite3_0.1.3.orig.tar.gz 158cb82958c6329319f911412999ea125980f327f54185bf0dad271d6f8f45c2 diff --git a/steps-guix/manifest b/steps-guix/manifest index 8b2ac05b..1e79f728 100644 --- a/steps-guix/manifest +++ b/steps-guix/manifest @@ -23,8 +23,8 @@ build: nettle-3.10.2 build: libtasn1-v4.21.0 build: gnutls-3.8.12 build: guile-gnutls-v5.0.1 -# build: unzip-6.0 -# build: sqlite-3510200 -# build: guile-sqlite3-0.1.3 +build: unzip-6.0 +build: sqlite-3510200 +build: guile-sqlite3-0.1.3 improve: after diff --git a/steps-guix/sqlite-3510200/pass1.sh b/steps-guix/sqlite-3510200/pass1.sh new file mode 100755 index 00000000..741efd55 --- /dev/null +++ b/steps-guix/sqlite-3510200/pass1.sh @@ -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 +} diff --git a/steps-guix/sqlite-3510200/sources b/steps-guix/sqlite-3510200/sources new file mode 100644 index 00000000..07e3832c --- /dev/null +++ b/steps-guix/sqlite-3510200/sources @@ -0,0 +1 @@ +f https://sqlite.org/2026/sqlite-src-3510200.zip 85110f762d5079414d99dd5d7917bc3ff7e05876e6ccbd13d8496a3817f20829 diff --git a/steps-guix/unzip-6.0/pass1.sh b/steps-guix/unzip-6.0/pass1.sh new file mode 100755 index 00000000..699878af --- /dev/null +++ b/steps-guix/unzip-6.0/pass1.sh @@ -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" +} diff --git a/steps-guix/unzip-6.0/sources b/steps-guix/unzip-6.0/sources new file mode 100644 index 00000000..f0def884 --- /dev/null +++ b/steps-guix/unzip-6.0/sources @@ -0,0 +1 @@ +f https://downloads.sourceforge.net/infozip/unzip60.tar.gz 036d96991646d0449ed0aa952e4fbe21b476ce994abc276e49d30e686708bd37