Blame groups.d/221.native_packages_dev.d/lua.package

b2c1ea
: ${PKG_LUA_DEPENDS:="readline"};
b2c1ea
: ${PKG_LUA_SHA256SUM:=164c7849653b80ae67bec4b7473b884bf5cc8d2dca05653475ec2ed27b9ebf61};
b2c1ea
: ${PKG_LUA_VERSION:=5.4.4};
b2c1ea
: ${PKG_LUA_URL:=https://www.lua.org/ftp/lua-${PKG_LUA_VERSION}.tar.gz};
b2c1ea
: ${PKG_LUA_CFLAGS_BUILD:="${DEFAULT_CFLAGS:+${DEFAULT_CFLAGS} }--sysroot=${PREFIX_NATIVE}"};
b2c1ea
: ${PKG_LUA_CFLAGS_BUILD_EXTRA:="-DLUA_COMPAT_5_3 -DLUA_USE_LINUX -DLUA_USE_READLINE"};
b2c1ea
: ${PKG_LUA_LDFLAGS_BUILD_EXTRA:="--sysroot=${PREFIX_NATIVE} -lreadline"};
b2c1ea
: ${PKG_LUA_IN_TREE:=1};
b2c1ea
: ${PKG_LUA_INSTALL_FILES_V2:="
b2c1ea
    +%[_files]/lua.pc=lib/pkgconfig/lua.pc
b2c1ea
    m0644=lib/pkgconfig/lua.pc"};
b2c1ea
: ${PKG_LUA_MAKEFLAGS_VERBOSITY:="none"};
b2c1ea
b2c1ea
ex_pkg_register "lua" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages";
b2c1ea
b2c1ea
# vim:filetype=sh textwidth=0