]>
Commit | Line | Data |
---|---|---|
85e9e990 | 1 | ############################################################################### |
802ea3af MT |
2 | # IPFire.org - An Open Source Firewall Solution # |
3 | # Copyright (C) - IPFire Development Team <info@ipfire.org> # | |
85e9e990 SS |
4 | ############################################################################### |
5 | ||
802ea3af | 6 | name = tcl |
d1418148 | 7 | version = 8.5.10 |
37d94d17 | 8 | release = 2 |
85e9e990 | 9 | |
802ea3af MT |
10 | groups = Development/Languages |
11 | url = http://tcl.sourceforge.net/ | |
12 | license = TCL | |
13 | summary = Tool Command Language, pronounced tickle. | |
85e9e990 | 14 | |
802ea3af | 15 | description |
85e9e990 SS |
16 | The Tcl (Tool Command Language) provides a powerful platform for\ |
17 | creating integration applications that tie together diverse \ | |
18 | applications, protocols, devices, and frameworks. | |
802ea3af | 19 | end |
85e9e990 | 20 | |
802ea3af MT |
21 | source_dl = http://downloads.sourceforge.net/project/%{name}/%{name}/%{thisapp} |
22 | sources = tcl%{version}-src.tar.gz | |
85e9e990 | 23 | |
802ea3af MT |
24 | build |
25 | requires | |
d1418148 | 26 | perl>=5.14.2-9.ip3 |
802ea3af MT |
27 | autoconf |
28 | automake | |
29 | end | |
30 | ||
802ea3af | 31 | DIR_APP = %{DIR_SRC}/tcl%{version}/unix |
d1418148 | 32 | CFLAGS += -DTCL_NO_STACK_CHECK=1 |
802ea3af MT |
33 | |
34 | configure_options +=\ | |
35 | --enable-shared | |
36 | ||
37 | prepare | |
38 | cd %{DIR_SRC} && %{MACRO_EXTRACT} %{DIR_DL}/${source}/%{sources} | |
39 | cd %{DIR_APP} && cd .. | |
85e9e990 | 40 | |
802ea3af | 41 | %{MACRO_PATCHES} |
5d58c208 | 42 | |
802ea3af MT |
43 | cd %{DIR_APP} && autoconf |
44 | end | |
5d58c208 | 45 | |
802ea3af | 46 | test |
37d94d17 SS |
47 | # Skip remote tests http, httpold and socket. |
48 | # Also skip unixInit-1.1. This test fails because "kill -PIPE" | |
49 | # will be executed and we don't support that. | |
50 | make test TESTFLAGS="-skip 'http* socket* unixInit-1.1'" | |
802ea3af | 51 | end |
85e9e990 | 52 | |
802ea3af MT |
53 | install_cmds |
54 | cd %{DIR_APP} && make install-private-headers DESTDIR=%{BUILDROOT} | |
55 | ln -sf tclsh8.5 %{BUILDROOT}/usr/bin/tclsh | |
56 | end | |
57 | end | |
d9befb1f | 58 | |
802ea3af MT |
59 | packages |
60 | package %{name} | |
1f9bc2f0 MT |
61 | |
62 | package %{name}-debuginfo | |
63 | template DEBUGINFO | |
64 | end | |
802ea3af | 65 | end |