include $(TOPDIR)/rules.mk
PKG_NAME:=luajit2
-PKG_SOURCE_DATE:=2024-06-26
+PKG_SOURCE_DATE:=2024-08-15
PKG_VERSION:=2.1.$(subst -,.,$(PKG_SOURCE_DATE))
PKG_RELEASE:=1
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=https://github.com/openresty/luajit2
-PKG_SOURCE_VERSION:=dc397b66e6c8065185343cbe5dbeb4532f8e0b92
-PKG_MIRROR_HASH:=012a4b8f64c7f8b217940fe44719bca934b2bb506f4c7f03dd3c9a592e1c55ae
+PKG_SOURCE_VERSION:=33d6b04681d2f079a6d013988a426a841c52e29e
+PKG_MIRROR_HASH:=cb6687203153fd6b2f730e899728a911f8b7094f296cc11ca0f2b20ce849f952
PKG_MAINTAINER:=Javier Marcet <javier@marcet.info>
PKG_LICENSE:=MIT
-#define LUA_LUADIR "/lua/5.1/"
+#define LUA_LROOT "/usr"
+#define LUA_LUADIR "/lua/"
- #define LUA_LJDIR "/luajit-2.1/"
#ifdef LUA_ROOT
+ #define LUA_JROOT LUA_ROOT