summaryrefslogtreecommitdiff
path: root/ports/lua/port
diff options
context:
space:
mode:
authordzwdz2023-06-25 16:38:32 +0200
committerdzwdz2023-06-25 16:38:32 +0200
commitd4542c336a6cbfb43497055f19a85e7713f2eed7 (patch)
tree9f4a68974c3392b0ea546ecc94324911e86f0528 /ports/lua/port
parentfffd37f1680664bf055d8f5603ed1967718a6492 (diff)
ports: reimplement the ports system from scratch
side stuff: * removed sltar since it wasn't working anyways * made signal() no longer panic, as that broke certain ports (oops) * doom now ships with the FreeDOOM WADs * /usr/ was aliased to /init/usr/, more directories were added to /bin/ to improve compat with ports
Diffstat (limited to 'ports/lua/port')
-rwxr-xr-xports/lua/port15
1 files changed, 15 insertions, 0 deletions
diff --git a/ports/lua/port b/ports/lua/port
new file mode 100755
index 0000000..d059caa
--- /dev/null
+++ b/ports/lua/port
@@ -0,0 +1,15 @@
+#!/bin/sh
+. ports/pre
+
+pkg=lua
+tarball=lua-5.4.4.tar.gz
+tarball_dir=lua-5.4.4
+url=https://www.lua.org/ftp/${tarball}
+
+MAKEFLAGS="$MAKEFLAGS INSTALL_TOP=$DESTDIR/usr/ PLAT=generic"
+
+relink() {
+ rm $tarball_dir/lua
+}
+
+. ports/post