272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
|
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
|
+
+
+
+
+
+
+
+
+
+
+
+
+
|
}
function preinstall() {
:
}
function install() {
local filename newFilename
mkdir -p "${installdir}/lib" || return 1
${MAKE:-make} tcllibdir="${installdir}/lib" TCL_PACKAGE_PATH="${installdir}/lib" "${make_extra[@]}" install || return 1
# Rename ".LIB" files to ".a" files which KitCreator expects elsewhere
find "${installdir}/lib" -type f -iname '*.lib' -o -iname '*.lib.linkadd' | while IFS='' read -r filename; do
case "${filename}" in
*.[Dd][Ll][Ll].[Ll][Ii][Bb])
continue
;;
esac
newFilename="$(echo "${filename}" | sed 's@\.lib$@.a@i;s@\.lib\.linkadd$@.a.linkadd@')"
mv "${filename}" "${newFilename}"
done
}
function postinstall() {
:
}
function createruntime() {
|