]>
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 MT |
6 | name = tcl |
7 | version = 8.5.8 | |
8 | release = 1 | |
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 | |
5d58c208 MT |
24 | CFLAGS += -DTCL_NO_STACK_CHECK=1 |
25 | ||
802ea3af MT |
26 | build |
27 | requires | |
28 | autoconf | |
29 | automake | |
30 | end | |
31 | ||
32 | ||
33 | DIR_APP = %{DIR_SRC}/tcl%{version}/unix | |
34 | ||
35 | configure_options +=\ | |
36 | --enable-shared | |
37 | ||
38 | prepare | |
39 | cd %{DIR_SRC} && %{MACRO_EXTRACT} %{DIR_DL}/${source}/%{sources} | |
40 | cd %{DIR_APP} && cd .. | |
85e9e990 | 41 | |
802ea3af | 42 | %{MACRO_PATCHES} |
5d58c208 | 43 | |
802ea3af MT |
44 | cd %{DIR_APP} && autoconf |
45 | end | |
5d58c208 | 46 | |
802ea3af MT |
47 | test |
48 | make test | |
49 | end | |
85e9e990 | 50 | |
802ea3af MT |
51 | install_cmds |
52 | cd %{DIR_APP} && make install-private-headers DESTDIR=%{BUILDROOT} | |
53 | ln -sf tclsh8.5 %{BUILDROOT}/usr/bin/tclsh | |
54 | end | |
55 | end | |
d9befb1f | 56 | |
802ea3af MT |
57 | packages |
58 | package %{name} | |
59 | end | |
60 | end |