]> git.ipfire.org Git - ipfire-3.x.git/blame - lua/lua.nm
json-c: Update to version 0.17-20230812
[ipfire-3.x.git] / lua / lua.nm
CommitLineData
1e2fe399 1###############################################################################
802ea3af
MT
2# IPFire.org - An Open Source Firewall Solution #
3# Copyright (C) - IPFire Development Team <info@ipfire.org> #
1e2fe399
MT
4###############################################################################
5
802ea3af 6name = lua
5f77f6cf
MT
7ver_maj = 5.4
8version = %{ver_maj}.4
9ddd3984 9release = 1
1e2fe399 10
802ea3af 11groups = Development/Languages
5f77f6cf 12url = https://www.lua.org/
802ea3af 13license = MIT
5f77f6cf 14summary = Powerful light-weight programming language
1e2fe399 15
802ea3af 16description
5f77f6cf
MT
17 Lua is a powerful light-weight programming language designed for
18 extending applications. Lua is also frequently used as a
19 general-purpose, stand-alone language. Lua is free software.
20 Lua combines simple procedural syntax with powerful data description
21 constructs based on associative arrays and extensible semantics. Lua
22 is dynamically typed, interpreted from bytecodes, and has automatic
23 memory management with garbage collection, making it ideal for
1e2fe399 24 configuration, scripting, and rapid prototyping.
802ea3af 25end
1e2fe399 26
5f77f6cf 27source_dl = https://www.lua.org/ftp/
1e2fe399 28
802ea3af
MT
29build
30 requires
5f77f6cf
MT
31 autoconf
32 automake
802ea3af
MT
33 readline-devel
34 end
4a3264ac 35
802ea3af 36 prepare_cmds
5f77f6cf 37 autoreconf -vfi
802ea3af 38 end
135f5412 39
5f77f6cf
MT
40 configure_options += \
41 --with-compat-module \
42 --with-readline
802ea3af 43end
31858f63 44
802ea3af
MT
45packages
46 package %{name}
1f9bc2f0 47
5f77f6cf
MT
48 package %{name}-libs
49 template LIBS
50
51 files += %{libdir}/liblua-%{ver_maj}.so
52 end
53
802ea3af
MT
54 package %{name}-devel
55 template DEVEL
1f9bc2f0 56
5f77f6cf
MT
57 requires = lua-libs = %{thisver}
58
59 files += !%{libdir}/liblua-%{ver_maj}.so
802ea3af 60 end
1f9bc2f0
MT
61
62 package %{name}-debuginfo
63 template DEBUGINFO
64 end
802ea3af 65end