mirror of
https://github.com/termux/termux-packages
synced 2024-06-15 21:26:37 +00:00
28 lines
802 B
Diff
28 lines
802 B
Diff
diff --git a/Makefile b/Makefile
|
|
index d48a66c..444fa06 100644
|
|
--- a/Makefile
|
|
+++ b/Makefile
|
|
@@ -1,10 +1,10 @@
|
|
-LUA ?= lua
|
|
-LUA_VERSION ?= $(shell $(LUA) -e 'v=_VERSION:gsub("^Lua *","");print(v)')
|
|
+LUA_VERSION ?= 5.3
|
|
+LUA ?= lua$(LUA_VERSION)
|
|
DESTDIR ?=
|
|
PREFIX ?= /usr/local
|
|
BIN_DIR ?= $(PREFIX)/bin
|
|
LUA_LIB_DIR ?= $(PREFIX)/share/lua/$(LUA_VERSION)
|
|
-MAN_DIR ?= $(PREFIX)/man/man1
|
|
+MAN_DIR ?= $(PREFIX)/share/man/man1
|
|
|
|
MINI_SRC=src/fennel.fnl src/fennel/parser.fnl src/fennel/specials.fnl \
|
|
src/fennel/utils.fnl src/fennel/compiler.fnl src/fennel/macros.fnl
|
|
@@ -60,7 +60,7 @@ lint: fennel
|
|
|
|
## Binaries
|
|
|
|
-BIN_LUA_VERSION=5.4.4
|
|
+BIN_LUA_VERSION=5.3.6
|
|
BIN_LUA_DIR ?= $(PWD)/lua-$(BIN_LUA_VERSION)
|
|
NATIVE_LUA_LIB ?= $(BIN_LUA_DIR)/src/liblua-native.a
|
|
LUA_INCLUDE_DIR ?= $(BIN_LUA_DIR)/src
|