Differences From Artifact [e5124a01c0]:
- Executable file
tcl/build.sh
— part of check-in
[84e5f3847a]
at
2011-03-16 17:23:07
on branch trunk
— Updated to pull tarballs from Fossil rather than zip files, as these preserve executable permissions
Updated to pull Tcl and Tk from "core.tcl.tk" rather than from local mirror (user: rkeene, size: 6160) [annotate] [blame] [check-ins using]
To Artifact [f5d1586cab]:
- Executable file
tcl/build.sh
— part of check-in
[f892d49db3]
at
2011-04-15 20:38:06
on branch trunk
— Updated to pull "tclconfig" and "thread" from core.tcl.tk
Updated to download CVS/Fossil into a temporary directory (user: rkeene, size: 5729) [annotate] [blame] [check-ins using]
| ︙ | ︙ | |||
32 33 34 35 36 37 38 | CVSTAG="trunk" fi export CVSTAG ( cd src || exit 1 | > > | > > > | | | | < < < < < < < < < < < | < | | | | | | < < < > | > > | 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 |
CVSTAG="trunk"
fi
export CVSTAG
(
cd src || exit 1
workdir="tmp-$$${RANDOM}${RANDOM}${RANDOM}"
rm -rf "${workdir}"
mkdir "${workdir}" || exit 1
cd "${workdir}" || exit 1
wget -O "tmp-tcl.tar.gz" "http://core.tcl.tk/tcl/tarball/tcl-fossil.tar.gz?uuid=${CVSTAG}" || rm -f 'tmp-tcl.tar.gz'
wget -O "tmp-itcl.tar.gz" "http://rkeene.org/projects/tcl/itcl.fossil/tarball/itcl-fossil.tar.gz?uuid=${CVSTAG}" || rm -f 'tmp-itcl.tar.gz'
wget -O "tmp-thread.tar.gz" "http://core.tcl.tk/thread/tarball/thread-fossil.tar.gz?uuid=${CVSTAG}" || rm -f "tmp-thread.tar.gz"
wget -O "tmp-tclconfig.tar.gz" "http://core.tcl.tk/tclconfig/tarball/tclconfig-fossil.tar.gz?uuid=${CVSTAG}" || rm -f "tmp-tclconfig.tar.gz"
gzip -dc 'tmp-tcl.tar.gz' | tar -xf -
gzip -dc "tmp-itcl.tar.gz" | tar -xf -
gzip -dc "tmp-thread.tar.gz" | tar -xf -
gzip -dc "tmp-tclconfig.tar.gz" | tar -xf -
mv "tcl-fossil" "tcl${TCLVERS}"
mv "itcl-fossil" "tcl${TCLVERS}/pkgs/itcl"
mv "thread-fossil" "tcl${TCLVERS}/pkgs/thread"
cp -r "tclconfig-fossil" "tcl${TCLVERS}/pkgs/itcl/tclconfig"
cp -r "tclconfig-fossil" "tcl${TCLVERS}/pkgs/thread/tclconfig"
mv "tclconfig-fossil" "tcl${TCLVERS}/tclconfig"
tar -cf - "tcl${TCLVERS}" | gzip -c > "../../${SRC}"
cd ..
rm -rf "${workdir}"
) || exit 1
else
rm -f "${SRC}.tmp"
wget -O "${SRC}.tmp" "${SRCURL}" || exit 1
mv "${SRC}.tmp" "${SRC}"
fi
fi
|
| ︙ | ︙ |