35 lines
1,001 B
Text
35 lines
1,001 B
Text
# Template file for 'tcl'
|
|
pkgname=tcl
|
|
version=8.5.11
|
|
wrksrc="tcl${version}/unix"
|
|
distfiles="${SOURCEFORGE_SITE}/$pkgname/${pkgname}${version}-src.tar.gz"
|
|
short_desc="The TCL scripting language"
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
homepage="www.tcl.tk"
|
|
license="tcl/tk"
|
|
checksum=8addc385fa6b5be4605e6d68fbdc4c0e674c5af1dc1c95ec5420390c4b08042a
|
|
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."
|
|
|
|
subpackages="tcl-devel"
|
|
|
|
do_configure() {
|
|
if [ "${XBPS_MACHINE}" = "x86_64" ]; then
|
|
local args="${configure_args} --enable-64bits"
|
|
fi
|
|
|
|
./configure ${CONFIGURE_SHARED_ARGS} --enable-threads \
|
|
--without-tzdata --enable-man-symlinks $args
|
|
}
|
|
|
|
do_build() {
|
|
make ${makejobs}
|
|
}
|
|
|
|
do_install() {
|
|
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
|
|
}
|