Index: server/buildpkgs/tcllib/build.sh ================================================================== --- server/buildpkgs/tcllib/build.sh +++ server/buildpkgs/tcllib/build.sh @@ -1,11 +1,15 @@ #! /bin/bash -VERS=1.14 +VERS=1.16 +VERS_TAG="$(echo "${VERS}" | sed 's@\.@-@g')" +VERS_US="$(echo "${VERS}" | sed 's@\.@_@g')" SRC="src/tcllib-${VERS}.tar.gz" SRCURL="http://sourceforge.net/projects/tcllib/files/tcllib/${VERS}/tcllib-${VERS}.tar.gz/download" -BUILDDIR="tcllib-${VERS}" +SRCURL="http://core.tcl.tk/tcllib/tarball/tcllib-${VERS}.tar.gz?uuid=tcllib-${VERS_TAG}" +SRCURL="https://github.com/tcltk/tcllib/archive/tcllib_${VERS_US}.tar.gz" +BUILDDIR="tcllib-tcllib_${VERS_US}" export VERS SRC SRCURL BUILDDIR # Load common functions source ../common.sh ADDED server/buildpkgs/tcllib/process.tcl Index: server/buildpkgs/tcllib/process.tcl ================================================================== --- /dev/null +++ server/buildpkgs/tcllib/process.tcl @@ -0,0 +1,3 @@ +#! /usr/bin/env tclsh + +create fake interp with "if" defined to take both halves, "package" to determine stuff, and "source" as real -- all other commands noops