############################################################################### # IPFire.org - An Open Source Firewall Solution # # Copyright (C) - IPFire Development Team # ############################################################################### name = lua ver_maj = 5.4 version = %{ver_maj}.4 release = 1 groups = Development/Languages url = https://www.lua.org/ license = MIT summary = Powerful light-weight programming language description Lua is a powerful light-weight programming language designed for extending applications. Lua is also frequently used as a general-purpose, stand-alone language. Lua is free software. Lua combines simple procedural syntax with powerful data description constructs based on associative arrays and extensible semantics. Lua is dynamically typed, interpreted from bytecodes, and has automatic memory management with garbage collection, making it ideal for configuration, scripting, and rapid prototyping. end source_dl = https://www.lua.org/ftp/ build requires autoconf automake readline-devel end prepare_cmds autoreconf -vfi end configure_options += \ --with-compat-module \ --with-readline end packages package %{name} package %{name}-libs template LIBS files += %{libdir}/liblua-%{ver_maj}.so end package %{name}-devel template DEVEL requires = lua-libs = %{thisver} files += !%{libdir}/liblua-%{ver_maj}.so end package %{name}-debuginfo template DEBUGINFO end end