]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blame - lua/lua.nm
Add a -debuginfo for every package that is not noarch.
[people/ms/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
MT
6name = lua
7version = 5.1.4
acff6275 8release = 3
1e2fe399 9
802ea3af
MT
10groups = Development/Languages
11url = http://www.lua.org/
12license = MIT
13summary = Powerful light-weight programming language.
1e2fe399 14
802ea3af 15description
1e2fe399
MT
16 Lua is a powerful light-weight programming language designed for \
17 extending applications. Lua is also frequently used as a \
18 general-purpose, stand-alone language. Lua is free software. \
19 Lua combines simple procedural syntax with powerful data description \
20 constructs based on associative arrays and extensible semantics. Lua \
21 is dynamically typed, interpreted from bytecodes, and has automatic \
22 memory management with garbage collection, making it ideal for \
23 configuration, scripting, and rapid prototyping.
802ea3af 24end
1e2fe399 25
802ea3af 26source_dl =
1e2fe399 27
802ea3af
MT
28build
29 requires
acff6275 30 perl-Carp
802ea3af
MT
31 autoconf
32 automake
33 libtool
34 ncurses-devel
35 readline-devel
36 end
4a3264ac 37
802ea3af
MT
38 prepare_cmds
39 chmod u+x autogen.sh config.guess config.sub configure \
40 depcomp install-sh missing
41 sh autogen.sh
42 end
135f5412 43
802ea3af
MT
44 configure_options += \
45 --mandir=/usr/share/man \
46 --with-readline
1e2fe399 47
802ea3af
MT
48 # hack so that only /usr/bin/lua gets linked with readline as it is the
49 # only one which needs this and otherwise we get License troubles
50 make_build_targets = LIBS="-ldl" luac_LDADD="liblua.la -lm -ldl"
1e2fe399 51
802ea3af
MT
52 # Remove readline from lua.pc
53 build_cmds
54 sed -i 's/-lreadline -lncurses //g' etc/lua.pc
55 end
56end
31858f63 57
802ea3af
MT
58packages
59 package %{name}
60 end
1f9bc2f0 61
802ea3af
MT
62 package %{name}-devel
63 template DEVEL
64 end
1f9bc2f0 65
802ea3af
MT
66 package %{name}-libs
67 template LIBS
1f9bc2f0 68
acff6275 69 files += /usr/lib*/liblua-5.1.so
802ea3af 70 end
1f9bc2f0
MT
71
72 package %{name}-debuginfo
73 template DEBUGINFO
74 end
802ea3af 75end