aboutsummaryrefslogtreecommitdiffstats
path: root/community/lua-turbo/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/lua-turbo/APKBUILD')
-rw-r--r--community/lua-turbo/APKBUILD8
1 files changed, 6 insertions, 2 deletions
diff --git a/community/lua-turbo/APKBUILD b/community/lua-turbo/APKBUILD
index 6ce6126820..e6e8554f71 100644
--- a/community/lua-turbo/APKBUILD
+++ b/community/lua-turbo/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Carlo Landmeter <clandmeter@alpinelinux.org>
pkgname=lua-turbo
pkgver=2.1.3
-pkgrel=7
+pkgrel=8
pkgdesc="framework built for LuaJIT 2 and Linux"
url="https://github.com/kernelsauce/turbo"
# riscv64 blocked by luajit
@@ -11,7 +11,10 @@ license="Apache-2.0"
depends="luajit lua5.1-cjson lua5.1-sec ca-certificates"
subpackages="$pkgname-openrc"
# https://github.com/kernelsauce/turbo/issues/343 (libressl-dev)
-makedepends="openssl1.1-compat-dev"
+makedepends="
+ openssl1.1-compat-dev
+ luajit-dev
+ "
options="!check" # bundled tests dont work
source="$pkgname-$pkgver.tar.gz::https://github.com/kernelsauce/turbo/archive/v$pkgver.tar.gz
$pkgname.initd
@@ -34,6 +37,7 @@ prepare() {
build() {
export LUAJIT_VERSION="$(pkgconf luajit --variable=version)"
+ [ -z "$LUAJIT_VERSION" ] && die "LUAJIT_VERSION cannot be empty"
make
}