Differences From Artifact [6599bcea65]:
- Executable file
tcl/build.sh
— part of check-in
[b84f59e5de]
at
2010-09-26 04:40:31
on branch trunk
— Fixed issue with Tcl 8.5 and up cross-compile installation
Fixed check for no Tk libs to exclude stubs in the check, but include it in the linking (user: rkeene, size: 2283) [annotate] [blame] [check-ins using]
To Artifact [f2cbd6ff95]:
- Executable file
tcl/build.sh
— part of check-in
[a0f6913a43]
at
2010-09-26 04:41:48
on branch trunk
— Changed the default action to remove all encodings (except 8)
Removed tcltest package from Tclkit (user: rkeene, size: 2870) [annotate] [blame] [check-ins using]
| ︙ | |||
81 82 83 84 85 86 87 88 89 90 91 92 93 | 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 | + + + + + + + + + + + + + + + + + + + + + + |
)
mkdir "${OUTDIR}/lib" || exit 1
cp -r "${INSTDIR}/lib"/* "${OUTDIR}/lib/"
rm -rf "${OUTDIR}/lib/pkgconfig"
rm -f "${OUTDIR}"/lib/* >/dev/null 2>/dev/null
find "${OUTDIR}" -name '*.a' | xargs rm -f >/dev/null 2>/dev/null
# Clean up packages that are not needed
find "${OUTDIR}" -name "tcltest*" -type d | xargs rm -rf
# Clean up encodings
if [ -z "${KITCREATOR_ALLENCODINGS}" ]; then
KEEPENCODINGS=" ascii.enc cp1252.enc iso8859-1.enc iso8859-15.enc iso8859-2.enc koi8-r.enc macRoman.enc "
export KEEPENCODINGS
find "${OUTDIR}/lib" -name 'encoding' -type d | while read encdir; do
(
cd "${encdir}" || exit 1
for file in *; do
if echo " ${KEEPENCODINGS} " | grep " ${file} " >/dev/null; then
continue
fi
rm -f "${file}"
done
)
done
fi
break
done
) || exit 1
exit 0
|