]> git.ipfire.org Git - people/arne_f/ipfire-3.x.git/blob - tcl/tcl.nm
Merge remote-tracking branch 'stevee/audit'
[people/arne_f/ipfire-3.x.git] / tcl / tcl.nm
1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
5
6 name = tcl
7 version = 8.5.10
8 release = 2
9
10 groups = Development/Languages
11 url = http://tcl.sourceforge.net/
12 license = TCL
13 summary = Tool Command Language, pronounced tickle.
14
15 description
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.
19 end
20
21 source_dl = http://downloads.sourceforge.net/project/%{name}/%{name}/%{thisapp}
22 sources = tcl%{version}-src.tar.gz
23
24 build
25 requires
26 perl>=5.14.2-9.ip3
27 autoconf
28 automake
29 end
30
31 DIR_APP = %{DIR_SRC}/tcl%{version}/unix
32 CFLAGS += -DTCL_NO_STACK_CHECK=1
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 ..
40
41 %{MACRO_PATCHES}
42
43 cd %{DIR_APP} && autoconf
44 end
45
46 test
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'"
51 end
52
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
58
59 packages
60 package %{name}
61
62 package %{name}-debuginfo
63 template DEBUGINFO
64 end
65 end