summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2026-01-09 20:07:13 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2026-01-09 20:07:13 +0100
commitf53ff1adeff3dca6e41d5d63ac223025f9104ce1 (patch)
tree85f5cd1e870ef0efc9967ceebec4433e45e92ed0 /package
parent027509452c5455667a7cb36b659ca1e8f8131fb9 (diff)
lua: update to 5.4.8
Diffstat (limited to 'package')
-rw-r--r--package/lua/Makefile7
-rw-r--r--package/lua/files/lua.pc26
2 files changed, 31 insertions, 2 deletions
diff --git a/package/lua/Makefile b/package/lua/Makefile
index 3e6e7c0a7..7e46a37f7 100644
--- a/package/lua/Makefile
+++ b/package/lua/Makefile
@@ -4,9 +4,9 @@
include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= lua
-PKG_VERSION:= 5.3.4
+PKG_VERSION:= 5.4.8
PKG_RELEASE:= 1
-PKG_HASH:= f681aa518233bc407e23acf0f5887c884f17436f000d453b2491a9f11a52400c
+PKG_HASH:= 4f18ddae154e793e46eeab727c59ef1c0c0c2b744e7b94219710d76f530629ae
PKG_DESCR:= programming language interpreter
PKG_SECTION:= dev/lang
PKG_DEPENDS:= libreadline
@@ -34,6 +34,9 @@ MAKE_FLAGS+= CFLAGS="${TARGET_CFLAGS} ${TARGET_CPPFLAGS} -DLUA_USE_LINUX -fPIC"
XAKE_FLAGS+= INSTALL_TOP="${WRKINST}/usr"
ALL_TARGET:= linux
+post-install:
+ $(CP) ./files/lua.pc $(STAGING_TARGET_DIR)/usr/lib/pkgconfig
+
lua-install:
${INSTALL_DIR} ${IDIR_LUA}/usr/bin
${INSTALL_BIN} ${WRKINST}/usr/bin/lua ${IDIR_LUA}/usr/bin/
diff --git a/package/lua/files/lua.pc b/package/lua/files/lua.pc
new file mode 100644
index 000000000..b893a394a
--- /dev/null
+++ b/package/lua/files/lua.pc
@@ -0,0 +1,26 @@
+# lua.pc -- pkg-config data for Lua
+
+V= 5.4
+R= 5.4.8
+
+prefix= /usr
+INSTALL_BIN= ${prefix}/bin
+INSTALL_INC= ${prefix}/include
+INSTALL_LIB= ${prefix}/lib
+INSTALL_MAN= ${prefix}/man/man1
+INSTALL_LMOD= ${prefix}/share/lua/${V}
+INSTALL_CMOD= ${prefix}/lib/lua/${V}
+
+# canonical vars
+exec_prefix=${prefix}
+libdir=${exec_prefix}/lib
+includedir=${prefix}/include
+
+Name: Lua
+Description: An Extensible Extension Language
+Version: ${R}
+Requires:
+Libs: -L${libdir} -llua -lm
+Cflags: -I${includedir}
+
+# (end of lua.pc)