]> git.ipfire.org Git - ipfire-3.x.git/blame - pkgs/tcl/tcl.nm
Change file layout of the makefiles.
[ipfire-3.x.git] / pkgs / tcl / tcl.nm
CommitLineData
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
6name = tcl
7version = 8.5.8
8release = 1
85e9e990 9
802ea3af
MT
10groups = Development/Languages
11url = http://tcl.sourceforge.net/
12license = TCL
13summary = Tool Command Language, pronounced tickle.
85e9e990 14
802ea3af 15description
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 19end
85e9e990 20
802ea3af
MT
21source_dl = http://downloads.sourceforge.net/project/%{name}/%{name}/%{thisapp}
22sources = tcl%{version}-src.tar.gz
85e9e990 23
5d58c208
MT
24CFLAGS += -DTCL_NO_STACK_CHECK=1
25
802ea3af
MT
26build
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
55end
d9befb1f 56
802ea3af
MT
57packages
58 package %{name}
59 end
60end