commit: 9f2aaf861aa413178d01c3ccddce1fdcc46e696e
parent 8ea60fc91728fb6a4f750912cd04e17a0245fd06
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Tue, 7 May 2024 13:05:49 +0200
bootstrap-lua.sh: Add
Diffstat:
4 files changed, 18 insertions(+), 0 deletions(-)
diff --git a/bootstrap-lua.sh b/bootstrap-lua.sh
@@ -0,0 +1,13 @@
+#!/bin/sh
+set -ex
+
+# TODO (need ed / sed -i): https://www.lua.org/tests/lua-5.4.6-tests.tar.gz
+
+tar xof /lua-*.tar.gz
+cd lua-*/
+
+bmake -C src all CC="$CC -std=gnu99" SYSCFLAGS="-DLUA_USE_LINUX" RANLIB=true
+bmake install
+
+cd ..
+rm -fr lua-*/
diff --git a/distfiles.SHA512SUM b/distfiles.SHA512SUM
@@ -11,6 +11,8 @@ e84cd5bc6acdd4d16fc4f16b83e85737aa46d9f332b8f8b0aad75a07fc6c3216fc800538038edcb2
d9f20f35468d979fc29ef5ccc6e77d263e942222b8475940608a234b15e8cff84ef2163514b7b03669008c1fecac88fc9ab097a0f29b4b80a478b1fb09298bee distfiles/linux-headers-6.6-r0.apk.x86_64
3e23929f6ead271a8918224e7979d4168214d47603ef22d9b3391686b4de72a48b261632924a2b9f0c8c58da790401309dd5304c100d8bcbe4ec8c0a434b7d95 distfiles/loksh-7.3.tar.gz
5e812dcbfb5a1be294a3717ed54c5758c9836bd133e56ee59600f47531f1d8536c613b1548637620a4f4cc2761ba507fa541273d1f03108b60cb0c883c601891 distfiles/lolibc-f6e9da7.tar.gz
+428b50b9546d8ad81a7c7e74582135a317d27f0c65307f899ec6de50d71c6220672c53648f999b3019503c8fa6f0c1542131621a6bab9e09a7ef2e2919183b2d distfiles/lua-5.4.6-tests.tar.gz
+d90c6903355ee1309cb0d92a8a024522ff049091a117ea21efb585b5de35776191cd67d17a65b18c2f9d374795b7c944f047576f0e3fe818d094b26f0e4845c5 distfiles/lua-5.4.6.tar.gz
145260cbd6a8226cef3dfef0c8baba31847beaebc7e6b65d39d02715fd4f4cab9b139b6c3772e550088d4f9ae80c6d3ed20b9a7664c693644dfb96b4cb60e67c distfiles/make-4.4.1.tar.gz
6acd3ee911442934082f4f877d795b07c5e23022eaa9c0874799d97e92a2f5a663cb45f94b7f9745c49cbbce6b7e755a29e381ccfb9e68a0be1eedbd22fd5d3b distfiles/mk-20210330.tar.gz
dddd12728842e84bf7d532901d9b9e26e2c8c86e25a3625329586c9088ec9b3825ce3e512c56b7e875b923905308b89494d31d7ca05ebda5485bd00de3954236 distfiles/musl-1.2.5-r0.apk.aarch64
diff --git a/fetch.sh b/fetch.sh
@@ -12,6 +12,7 @@ URLS="
https://downloads.sourceforge.net/project/heirloom/heirloom-devtools/070527/heirloom-devtools-070527.tar.bz2
https://ftp.gnu.org/gnu/bash/bash-5.1.tar.gz
https://tukaani.org/xz/xz-5.4.2.tar.gz
+ https://www.lua.org/ftp/lua-5.4.6.tar.gz
"
WORKDIR="$(dirname "$0")"
diff --git a/make-root.sh b/make-root.sh
@@ -22,6 +22,7 @@ distfiles="
bash-5.1.tar.gz
make-4.4.1.tar.gz
xz-5.4.2.tar.gz
+ lua-5.4.6.tar.gz
"
local_files="
init.sh
@@ -32,6 +33,7 @@ local_files="
bootstrap-bash.sh
bootstrap-make.sh
bootstrap-xz.sh
+ bootstrap-lua.sh
"
WORKDIR="$(dirname "$0")"
WORKDIR="$(realpath "$WORKDIR")"