Index: itcl/build.sh ================================================================== --- itcl/build.sh +++ itcl/build.sh @@ -90,11 +90,11 @@ echo "Running: ${MAKE:-make} install" ${MAKE:-make} install mkdir "${OUTDIR}/lib" || exit 1 - cp -r "${INSTDIR}/lib"/itcl*/ "${OUTDIR}/lib/" + cp -r "${INSTDIR}/lib"/itcl* "${OUTDIR}/lib/" "${STRIP:-strip}" -g "${OUTDIR}"/lib/itcl*/*.so >/dev/null 2>/dev/null exit 0 ) || exit 1 Index: tclvfs/build.sh ================================================================== --- tclvfs/build.sh +++ tclvfs/build.sh @@ -80,11 +80,11 @@ echo "Running: ${MAKE:-make} install" ${MAKE:-make} install mkdir "${OUTDIR}/lib" || exit 1 - cp -r "${INSTDIR}/lib"/vfs*/ "${OUTDIR}/lib/" + cp -r "${INSTDIR}/lib"/vfs* "${OUTDIR}/lib/" rm -f "${OUTDIR}/lib"/vfs*/*.a "${OUTDIR}/lib"/vfs*/*.so exit 0 ) || exit 1 Index: tk/build.sh ================================================================== --- tk/build.sh +++ tk/build.sh @@ -148,11 +148,11 @@ sed 's@ \.\. @ @g' "${pkgIndex}" > "${pkgIndex}.new" mv "${pkgIndex}.new" "${pkgIndex}" done mkdir "${OUTDIR}/lib" || exit 1 - cp -r "${INSTDIR}/lib"/tk*/ "${OUTDIR}/lib/" + cp -r "${INSTDIR}/lib"/tk* "${OUTDIR}/lib/" cp -r "${INSTDIR}/lib"/libtk* "${OUTDIR}/lib"/tk*/ rm -rf "${OUTDIR}/lib"/tk*/demos "${STRIP:-strip}" -g "${OUTDIR}"/lib/tk*/*.so >/dev/null 2>/dev/null find "${OUTDIR}" -type f -name '*.a' | xargs rm -f >/dev/null 2>/dev/null