From 107b5aac2df1bd9f3a43bbb66c3da7a1aedd9307 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Wed, 12 Nov 2014 20:49:13 +0100 Subject: [PATCH] tcl: update to 8.6.3. --- srcpkgs/tcl/template | 28 ++++++++-------------------- 1 file changed, 8 insertions(+), 20 deletions(-) diff --git a/srcpkgs/tcl/template b/srcpkgs/tcl/template index fde972d105d..f5076f7ea99 100644 --- a/srcpkgs/tcl/template +++ b/srcpkgs/tcl/template @@ -1,36 +1,24 @@ # Template file for 'tcl' pkgname=tcl -version=8.6.2 +version=8.6.3 revision=1 wrksrc="tcl${version}" -build_wrksrc=unix +build_wrksrc="unix" +build_style=gnu-configure +configure_args="--enable-threads --without-tzdata --enable-man-symlinks + --disable-static --disable-rpath tcl_cv_strtod_unbroken=ok" makedepends="zlib-devel" short_desc="The TCL scripting language" maintainer="Juan RP " homepage="http://www.tcl.tk" license="tcl/tk" distfiles="${SOURCEFORGE_SITE}/$pkgname/${pkgname}${version}-src.tar.gz" -checksum=86f7ae5f581dd0904d04415637ab3aef5a50986c1b6d04c340e2b1b0258da9c4 +checksum=6ce0778de0d50daaa9c345d7c1fd1288fb658f674028812e7eeee992e3051005 -do_configure() { - if [ "${XBPS_MACHINE}" = "x86_64" ]; then - configure_args+=" --enable-64bits " - fi - - ./configure ${configure_args} --enable-threads \ - --without-tzdata --enable-man-symlinks \ - --disable-static --disable-rpath \ - tcl_cv_strtod_unbroken=ok -} -do_build() { - make ${makejobs} -} do_install() { make INSTALL_ROOT=${DESTDIR} install install-private-headers - ln -sfr ${DESTDIR}/usr/bin/tclsh8.6 ${DESTDIR}/usr/bin/tclsh - vinstall ../license.terms 644 usr/share/licenses/tcl LICENSE - # Set proper perms to shlibs. - chmod 755 ${DESTDIR}/usr/lib/*.so* + ln -s tclsh8.6 ${DESTDIR}/usr/bin/tclsh + vlicense ../license.terms LICENSE } tcl-devel_package() {