Blob Blame History Raw
: ${PKG_LUA_DEPENDS:="readline"};
: ${PKG_LUA_SHA256SUM:=164c7849653b80ae67bec4b7473b884bf5cc8d2dca05653475ec2ed27b9ebf61};
: ${PKG_LUA_VERSION:=5.4.4};
: ${PKG_LUA_URL:=https://www.lua.org/ftp/lua-${PKG_LUA_VERSION}.tar.gz};
: ${PKG_LUA_CFLAGS_BUILD:="${DEFAULT_CFLAGS:+${DEFAULT_CFLAGS} }--sysroot=${PREFIX_NATIVE}"};
: ${PKG_LUA_CFLAGS_BUILD_EXTRA:="-DLUA_COMPAT_5_3 -DLUA_USE_LINUX -DLUA_USE_READLINE"};
: ${PKG_LUA_LDFLAGS_BUILD_EXTRA:="--sysroot=${PREFIX_NATIVE} -lreadline"};
: ${PKG_LUA_IN_TREE:=1};
: ${PKG_LUA_INSTALL_FILES_V2:="
    +%[_files]/lua.pc=lib/pkgconfig/lua.pc
    m0644=lib/pkgconfig/lua.pc"};
: ${PKG_LUA_MAKEFLAGS_VERBOSITY:="none"};

ex_pkg_register "lua" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";

# vim:filetype=sh textwidth=0