Index: tcl/build.sh ================================================================== --- tcl/build.sh +++ tcl/build.sh @@ -59,11 +59,13 @@ ${MAKE:-make} || continue ${MAKE:-make} install mkdir "${OUTDIR}/lib" || exit 1 - cp -r "${INSTDIR}/lib"/tcl*/ "${OUTDIR}/lib/" + cp -r "${INSTDIR}/lib"/* "${OUTDIR}/lib/" + rm -rf "${OUTDIR}/lib/pkgconfig" + rm -f "${OUTDIR}"/lib/* >/dev/null 2>/dev/null break done ) || exit 1 Index: tk/build.sh ================================================================== --- tk/build.sh +++ tk/build.sh @@ -68,10 +68,11 @@ done mkdir "${OUTDIR}/lib" || exit 1 cp -r "${INSTDIR}/lib"/tk*/ "${OUTDIR}/lib/" cp -r "${INSTDIR}/lib"/libtk* "${OUTDIR}/lib"/tk*/ + rm -rf "${OUTDIR}/lib"/tk*/demos strip -g "${OUTDIR}"/lib/tk*/*.so >/dev/null 2>/dev/null break done