luaposix: set the version from PV

The lukefile of the git checkout has version = '$USER', which only the
release tarballs replace, so posix/version.lua carried the name of the
user who built it. Set it to PV before building.

AI-Generated: Uses Claude Code (Claude Opus 5.5)
Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
This commit is contained in:
Markus Volk authored and Khem Raj committed 2026-10-09 10:01:38 -07:00
1 parent d364539dc6
commit 52da7260de
1 file changed
+4
@@ -14,6 +14,10 @@ B = "${S}"
inherit pkgconfig
do_configure() {
sed -i "s/^version *= .*/version = '${PV}'/" ${S}/lukefile
}
do_compile() {
${S}/build-aux/luke LUA_INCDIR=${STAGING_INCDIR}
}