]>
Commit | Line | Data |
---|---|---|
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 | 6 | name = lua |
5f77f6cf MT |
7 | ver_maj = 5.4 |
8 | version = %{ver_maj}.4 | |
9ddd3984 | 9 | release = 1 |
1e2fe399 | 10 | |
802ea3af | 11 | groups = Development/Languages |
5f77f6cf | 12 | url = https://www.lua.org/ |
802ea3af | 13 | license = MIT |
5f77f6cf | 14 | summary = Powerful light-weight programming language |
1e2fe399 | 15 | |
802ea3af | 16 | description |
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 | 25 | end |
1e2fe399 | 26 | |
5f77f6cf | 27 | source_dl = https://www.lua.org/ftp/ |
1e2fe399 | 28 | |
802ea3af MT |
29 | build |
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 | 43 | end |
31858f63 | 44 | |
802ea3af MT |
45 | packages |
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 | 65 | end |