269
270
271
272
273
274
275
276
277
278
279
280
281
282
|
# Install files needed by installation
cp -r "${installdir}/lib" "${runtimedir}" || return 1
# Create pkgIndex files if needed
if [ -z "${tclpkg}" ]; then
tclpkg="${pkg}"
fi
if [ -z "${tclpkgversion}" ]; then
tclpkgversion="${version}"
fi
runtimelibdir="${runtimedir}/lib"
|
>
>
>
>
|
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
|
# Install files needed by installation
cp -r "${installdir}/lib" "${runtimedir}" || return 1
# Create pkgIndex files if needed
if [ -z "${tclpkg}" ]; then
tclpkg="${pkg}"
fi
echo "${tclpkg}" > "${installdir}/tcl-pkg-name"
if [ -n "${tclpkg_initfunc}" ]; then
echo "${tclpkg_initfunc}" > "${installdir}/tcl-init-func"
fi
if [ -z "${tclpkgversion}" ]; then
tclpkgversion="${version}"
fi
runtimelibdir="${runtimedir}/lib"
|