tcl: update to 8.5.11.

This commit is contained in:
Juan RP 2011-11-15 13:05:24 +01:00
parent e2da4d7c54
commit 75621cd2eb
1 changed files with 6 additions and 8 deletions

View File

@ -1,14 +1,13 @@
# Template file for 'tcl' # Template file for 'tcl'
pkgname=tcl pkgname=tcl
version=8.5.10 version=8.5.11
wrksrc="tcl${version}/unix" wrksrc="tcl${version}/unix"
distfiles="${SOURCEFORGE_SITE}/$pkgname/${pkgname}${version}-src.tar.gz" distfiles="${SOURCEFORGE_SITE}/$pkgname/${pkgname}${version}-src.tar.gz"
revision=1
short_desc="The TCL scripting language" short_desc="The TCL scripting language"
maintainer="Juan RP <xtraeme@gmail.com>" maintainer="Juan RP <xtraeme@gmail.com>"
homepage="www.tcl.tk" homepage="www.tcl.tk"
license="tcl/tk" license="tcl/tk"
checksum=f582063edd5419a39ee8f7b5c8f95d557b5daad13efb0ed2f0967ca185613bb7 checksum=8addc385fa6b5be4605e6d68fbdc4c0e674c5af1dc1c95ec5420390c4b08042a
long_desc=" long_desc="
This package contains Tcl, John Osterhout's Tool Command Language, an This package contains Tcl, John Osterhout's Tool Command Language, an
exceedingly simple language great for general scripting and for exceedingly simple language great for general scripting and for
@ -16,21 +15,20 @@ long_desc="
subpackages="tcl-devel" subpackages="tcl-devel"
do_configure() {
do_build()
{
if [ "${XBPS_MACHINE}" = "x86_64" ]; then if [ "${XBPS_MACHINE}" = "x86_64" ]; then
local args="${configure_args} --enable-64bits" local args="${configure_args} --enable-64bits"
fi fi
./configure ${CONFIGURE_SHARED_ARGS} --enable-threads \ ./configure ${CONFIGURE_SHARED_ARGS} --enable-threads \
--without-tzdata --enable-man-symlinks $args --without-tzdata --enable-man-symlinks $args
}
do_build() {
make ${makejobs} make ${makejobs}
} }
do_install() do_install() {
{
make INSTALL_ROOT=${DESTDIR} install install-private-headers make INSTALL_ROOT=${DESTDIR} install install-private-headers
ln -sf /usr/bin/tclsh8.5 ${DESTDIR}/usr/bin/tclsh ln -sf /usr/bin/tclsh8.5 ${DESTDIR}/usr/bin/tclsh
vinstall ../license.terms 644 usr/share/licenses/tcl LICENSE vinstall ../license.terms 644 usr/share/licenses/tcl LICENSE