move to tcc_bootstrap_alt-0.2

This commit is contained in:
Liam Wilson 2024-01-24 18:15:19 +00:00
parent a411c6ec3b
commit c4add474fb
6 changed files with 3 additions and 3 deletions

View file

@ -0,0 +1,41 @@
#!/bin/sh
# SPDX-FileCopyrightText: 2024 Liam Wilson <cosinusoidally@gmail.com>
#
# SPDX-License-Identifier: GPL-3.0-or-later
set -ex
# Check tarball checksums
checksum-transcriber sources
sha256sum -c sources.SHA256SUM
# Unpack
mkdir src
cd src
ungz --file ${DISTFILES}/${pkg}.tar.gz --output ${pkg}.tar
untar --non-strict --file ./${pkg}.tar
# Build
cd ./${pkg}
/bootstrap-seeds/POSIX/x86/hex0-seed ./x86/hex0_x86.hex0 ./x86/artifact/hex0-seed
chmod 755 ./x86/artifact/hex0-seed
/bootstrap-seeds/POSIX/x86/hex0-seed ./x86/kaem-minimal.hex0 ./x86/artifact/kaem-optional-seed
chmod 755 ./x86/artifact/kaem-optional-seed
kaem --file kaem.x86
cp artifacts/tcc_27_boot_static.exe /usr/bin/tcc-boot0
chmod 755 /usr/bin/tcc-boot0
cd ../..
# Checksums
if match x${UPDATE_CHECKSUMS} xTrue; then
sha256sum -o ${pkg}.${ARCH}.checksums \
/usr/bin/tcc-boot0
cp ${pkg}.checksums ${SRCDIR}
else
sha256sum -c ${pkg}.${ARCH}.checksums
fi

View file

@ -0,0 +1 @@
https://github.com/cosinusoidally/tcc_bootstrap_alt/releases/download/0.1/tcc_bootstrap_alt-0.1.tar.gz b8afe6d054a7e3e17b7f18a80776eb7c69469913d21e96261eadc598de48484a

View file

@ -0,0 +1 @@
68339f674652b934929568b613a74f75668d3fee6664b4d528781d764f5e7750 /usr/bin/tcc-boot0