Skip to content

lua: Update from version 5.3.5 to 5.4.6 #3064

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
12 changes: 6 additions & 6 deletions lua.be0
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
#!/bin/env beesh

# BEE_VERSION lua-5.3.5-0
# BEE_VERSION lua-5.4.6-0

SRCURL[0]="https://www.lua.org/ftp/lua-${PKGVERSION}.tar.gz"
#SRCURL[0]="https://www.lua.org/ftp/lua-${PKGVERSION}.tar.gz"
SRCURL[0]="https://beehive.molgen.mpg.de/25a429319dff20dfbfb9956c2b5be911/lua-5.4.6.tar.gz"


# PATCHURL[0]="http://www.linuxfromscratch.org/patches/blfs/svn/lua-5.3.5-shared_library-1.patch"
#PATCHURL[0]="https://www.linuxfromscratch.org/patches/blfs/svn/lua-5.4.6-shared_library-1.patch"
# LFS/AUR patch is just plain messy using $V

PATCHURL+=("/src/mariux/patches/lua-5.3.5-mariux-shared_library.patch")
PATCHURL+=("https://beehive.molgen.mpg.de/dd9bafa25310f188f711b2670275e0cc/lua-5.4.6-shared_library-1.patch")

build_in_sourcedir

Expand All @@ -31,7 +31,7 @@ BEE_CONFIGURE=none
mee_build() {
sed -i '/#define LUA_ROOT/s:/usr/local/:/usr/:' src/luaconf.h

bee_build linux "MYCFLAGS=-fPIC -DLUA_COMPAT_5_2 -DLUA_COMPAT_5_1"
bee_build linux "MYCFLAGS=-fPIC -DLUA_COMPAT_5_3 -DLUA_COMPAT_5_2 -DLUA_COMPAT_5_1"

cat >lua.pc <<EOF
LUA_V=${PKGVERSION[2]}
Expand Down
36 changes: 36 additions & 0 deletions luarocks.be0
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
#!/usr/bin/env beesh

# BEE_VERSION luarocks-3.9.2-0

#SRCURL[0]="https://github.com/luarocks/luarocks/archive/refs/tags/v${PKGVERSION}.tar.gz luarocks-${PKGVERSION}.tar.gz"
SRCURL[0]="https://beehive.molgen.mpg.de/4c38f47d73b62137b25c752a3312d081/luarocks-3.9.2.tar.gz"

# PATCHURL+=()

build_in_sourcedir

# sourcesubdir_append src

#mee_extract() {
# bee_extract "${@}"
#}

#mee_patch() {
# bee_patch "${@}"
#}

mee_configure() {
start_cmd ./configure
}

#mee_build() {
# bee_build
#}

#mee_install() {
# bee_install
#}

#mee_install_post() {
# exit
#}