############################################################################### # IPFire.org - An Open Source Firewall Solution # # Copyright (C) - IPFire Development Team # ############################################################################### name = tcl version = 8.5.10 release = 1 groups = Development/Languages url = http://tcl.sourceforge.net/ license = TCL summary = Tool Command Language, pronounced tickle. description The Tcl (Tool Command Language) provides a powerful platform for\ creating integration applications that tie together diverse \ applications, protocols, devices, and frameworks. end source_dl = http://downloads.sourceforge.net/project/%{name}/%{name}/%{thisapp} sources = tcl%{version}-src.tar.gz build requires perl>=5.14.2-9.ip3 autoconf automake end DIR_APP = %{DIR_SRC}/tcl%{version}/unix CFLAGS += -DTCL_NO_STACK_CHECK=1 configure_options +=\ --enable-shared prepare cd %{DIR_SRC} && %{MACRO_EXTRACT} %{DIR_DL}/${source}/%{sources} cd %{DIR_APP} && cd .. %{MACRO_PATCHES} cd %{DIR_APP} && autoconf end test make test end install_cmds cd %{DIR_APP} && make install-private-headers DESTDIR=%{BUILDROOT} ln -sf tclsh8.5 %{BUILDROOT}/usr/bin/tclsh end end packages package %{name} end