tcl: update to 8.6.2.

This commit is contained in:
Juan RP 2014-08-30 07:39:21 +02:00
parent e967741f3e
commit b1499c8747
1 changed files with 4 additions and 5 deletions

View File

@ -1,15 +1,16 @@
# Template file for 'tcl' # Template file for 'tcl'
pkgname=tcl pkgname=tcl
version=8.6.1 version=8.6.2
revision=1 revision=1
wrksrc="tcl${version}" wrksrc="tcl${version}"
build_wrksrc=unix build_wrksrc=unix
makedepends="zlib-devel"
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="http://www.tcl.tk" homepage="http://www.tcl.tk"
license="tcl/tk" license="tcl/tk"
distfiles="${SOURCEFORGE_SITE}/$pkgname/${pkgname}${version}-src.tar.gz" distfiles="${SOURCEFORGE_SITE}/$pkgname/${pkgname}${version}-src.tar.gz"
checksum=16ee769248e64ba1cae6b4834fcc4e4edd7470d881410e8d58f7dd1434343514 checksum=86f7ae5f581dd0904d04415637ab3aef5a50986c1b6d04c340e2b1b0258da9c4
do_configure() { do_configure() {
if [ "${XBPS_MACHINE}" = "x86_64" ]; then if [ "${XBPS_MACHINE}" = "x86_64" ]; then
@ -21,11 +22,9 @@ do_configure() {
--disable-static --disable-rpath \ --disable-static --disable-rpath \
tcl_cv_strtod_unbroken=ok tcl_cv_strtod_unbroken=ok
} }
do_build() { 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 -sfr ${DESTDIR}/usr/bin/tclsh8.6 ${DESTDIR}/usr/bin/tclsh ln -sfr ${DESTDIR}/usr/bin/tclsh8.6 ${DESTDIR}/usr/bin/tclsh
@ -35,7 +34,7 @@ do_install() {
} }
tcl-devel_package() { tcl-devel_package() {
depends="tcl>=${version}" depends="tcl>=${version}_${revision}"
short_desc+=" - development files" short_desc+=" - development files"
pkg_install() { pkg_install() {
vmove usr/lib/tclConfig.sh vmove usr/lib/tclConfig.sh