2009-12-09 08:52:52 +00:00
|
|
|
# Template file for 'tcl'
|
|
|
|
pkgname=tcl
|
2011-11-15 12:05:24 +00:00
|
|
|
version=8.5.11
|
2012-02-09 16:12:05 +00:00
|
|
|
wrksrc="tcl${version}"
|
|
|
|
build_wrksrc=unix
|
2009-12-09 08:52:52 +00:00
|
|
|
distfiles="${SOURCEFORGE_SITE}/$pkgname/${pkgname}${version}-src.tar.gz"
|
2012-06-03 07:08:53 +00:00
|
|
|
revision=1
|
2009-12-09 08:52:52 +00:00
|
|
|
short_desc="The TCL scripting language"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2011-07-11 14:08:16 +00:00
|
|
|
homepage="www.tcl.tk"
|
|
|
|
license="tcl/tk"
|
2011-11-15 12:05:24 +00:00
|
|
|
checksum=8addc385fa6b5be4605e6d68fbdc4c0e674c5af1dc1c95ec5420390c4b08042a
|
2009-12-09 08:52:52 +00:00
|
|
|
long_desc="
|
|
|
|
This package contains Tcl, John Osterhout's Tool Command Language, an
|
|
|
|
exceedingly simple language great for general scripting and for
|
|
|
|
embedding in other programs."
|
|
|
|
|
2011-07-11 14:08:16 +00:00
|
|
|
subpackages="tcl-devel"
|
|
|
|
|
2011-11-15 12:05:24 +00:00
|
|
|
do_configure() {
|
2011-11-08 10:56:17 +00:00
|
|
|
if [ "${XBPS_MACHINE}" = "x86_64" ]; then
|
2011-07-11 14:08:16 +00:00
|
|
|
local args="${configure_args} --enable-64bits"
|
|
|
|
fi
|
|
|
|
|
|
|
|
./configure ${CONFIGURE_SHARED_ARGS} --enable-threads \
|
|
|
|
--without-tzdata --enable-man-symlinks $args
|
2011-11-15 12:05:24 +00:00
|
|
|
}
|
2011-07-11 14:08:16 +00:00
|
|
|
|
2011-11-15 12:05:24 +00:00
|
|
|
do_build() {
|
2011-07-11 14:08:16 +00:00
|
|
|
make ${makejobs}
|
|
|
|
}
|
|
|
|
|
2011-11-15 12:05:24 +00:00
|
|
|
do_install() {
|
2011-07-11 14:08:16 +00:00
|
|
|
make INSTALL_ROOT=${DESTDIR} install install-private-headers
|
|
|
|
ln -sf /usr/bin/tclsh8.5 ${DESTDIR}/usr/bin/tclsh
|
|
|
|
vinstall ../license.terms 644 usr/share/licenses/tcl LICENSE
|
2009-12-09 08:52:52 +00:00
|
|
|
}
|