Tcl Source Code

Artifact Content

Artifact 772721019c5c05d5bffe8a5c17ffb08161fd40b0:

# This file is the basis for a binary Tcl RPM for Linux.

%{!?directory:%define directory /usr/local}

Name:          tcl
Summary:       Tcl scripting language development environment
Version:       9.0a0
Release:       2
License:       BSD
Group:         Development/Languages
Buildroot:     /var/tmp/%{name}%{version}

The Tcl (Tool Command Language) provides a powerful platform for
creating integration applications that tie together diverse
applications, protocols, devices, and frameworks.  When paired with
the Tk toolkit, Tcl provides the fastest and most powerful way to
create GUI applications that run on PCs, Unix, and Mac OS X.  Tcl
can also be used for a variety of web-related tasks and for creating
powerful command languages for applications.

%setup -q -n %{name}%{version}

cd unix
CFLAGS="%optflags" ./configure \
	--prefix=%{directory} \
	--exec-prefix=%{directory} \

cd unix
make INSTALL_ROOT=%{buildroot} install

rm -rf %buildroot

%if %{_lib} != lib