]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blame_incremental - lua/lua.nm
gcc: Update to 4.8.1.
[people/ms/ipfire-3.x.git] / lua / lua.nm
... / ...
CommitLineData
1###############################################################################
2# IPFire.org - An Open Source Firewall Solution #
3# Copyright (C) - IPFire Development Team <info@ipfire.org> #
4###############################################################################
5
6name = lua
7version = 5.1.4
8release = 3
9
10groups = Development/Languages
11url = http://www.lua.org/
12license = MIT
13summary = Powerful light-weight programming language.
14
15description
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.
24end
25
26source_dl =
27
28build
29 requires
30 perl-Carp
31 autoconf
32 automake
33 libtool
34 ncurses-devel
35 readline-devel
36 end
37
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
43
44 configure_options += \
45 --mandir=/usr/share/man \
46 --with-readline
47
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"
51
52 # Remove readline from lua.pc
53 build_cmds
54 sed -i 's/-lreadline -lncurses //g' etc/lua.pc
55 end
56end
57
58packages
59 package %{name}
60 end
61
62 package %{name}-devel
63 template DEVEL
64 end
65
66 package %{name}-libs
67 template LIBS
68
69 files += /usr/lib*/liblua-5.1.so
70 end
71
72 package %{name}-debuginfo
73 template DEBUGINFO
74 end
75end