summaryrefslogtreecommitdiff
path: root/prepare
diff options
context:
space:
mode:
authorAlexander M Pickering <alex@cogarr.net>2024-08-13 16:48:51 -0500
committerAlexander M Pickering <alex@cogarr.net>2024-08-13 16:48:51 -0500
commit249ee384da87b747496820627ccee24fb505862d (patch)
tree8b3b7492715750ffc054dd3301a3cc0608ca2fb8 /prepare
parent38f670d89ca5038c1d552bc574d5fe4e129ea47b (diff)
downloadluafilesystem-packaging-249ee384da87b747496820627ccee24fb505862d.tar.gz
luafilesystem-packaging-249ee384da87b747496820627ccee24fb505862d.tar.bz2
luafilesystem-packaging-249ee384da87b747496820627ccee24fb505862d.zip
Use luarocks image
Diffstat (limited to 'prepare')
-rwxr-xr-xprepare17
1 files changed, 0 insertions, 17 deletions
diff --git a/prepare b/prepare
deleted file mode 100755
index f669f86..0000000
--- a/prepare
+++ /dev/null
@@ -1,17 +0,0 @@
1#!/bin/sh -ex
2
3rc-service networking start
4
5apk add luarocks$rockver
6luaver=$(ls lua-*.tar.gz | grep -Eo "lua-.\\..")
7mkdir "$luaver"
8tar -xvzf lua-*.tar.gz --directory="$luaver" --strip-components=1
9rm /root/$luaver/src/*.c
10rm -rf /root/$luaver/doc
11rm -rf /root/$luaver/test
12rm -rf /root/$luaver/etc
13rm /root/*.tar.gz
14rm -rf /root/image-mingw64
15rm -rf /root/luafilesystem-packaging
16luarocks-$rockver config variables.LUA_INCDIR "/root/$luaver/src"
17luarocks-$rockver config variables.CFLAGS "$CFLAGS"