]> git.ipfire.org Git - people/arne_f/ipfire-3.x.git/blob - tcl/tcl.nm
Change file layout of the makefiles.
[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.8
8 release = 1
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 CFLAGS += -DTCL_NO_STACK_CHECK=1
25
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 ..
41
42 %{MACRO_PATCHES}
43
44 cd %{DIR_APP} && autoconf
45 end
46
47 test
48 make test
49 end
50
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
56
57 packages
58 package %{name}
59 end
60 end