75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
|
## Rename the "vfs" package directory to what "boot.tcl" expects
mv 'starpack.vfs/lib'/vfs* 'starpack.vfs/lib/vfs'
## Install "boot.tcl"
cp 'boot.tcl' 'starpack.vfs/'
# Figure out if zlib compiled (if not, the system zlib will be used and we
# will need to have that present)
ZLIBDIR="$(cd "${OTHERPKGSDIR}/zlib/inst" 2>/dev/null && pwd)"
export ZLIBDIR
if [ -z "${ZLIBDIR}" -o ! -f "${ZLIBDIR}/lib/libz.a" ]; then
unset ZLIBDIR
fi
# Copy user specified kit.rc and kit.ico in to build directory, if found
cp "${KITCREATOR_ICON}" "${BUILDDIR}/kit.ico"
cp "${KITCREATOR_RC}" "${BUILDDIR}/kit.rc"
# Include extra objects as required
## Initialize list of extra objects
EXTRA_OBJS=""
export EXTRA_OBJS
|
>
>
>
|
|
|
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
|
## Rename the "vfs" package directory to what "boot.tcl" expects
mv 'starpack.vfs/lib'/vfs* 'starpack.vfs/lib/vfs'
## Install "boot.tcl"
cp 'boot.tcl' 'starpack.vfs/'
## Install "tclkit.ico"
cp 'tclkit.ico' 'starpack.vfs/'
# Figure out if zlib compiled (if not, the system zlib will be used and we
# will need to have that present)
ZLIBDIR="$(cd "${OTHERPKGSDIR}/zlib/inst" 2>/dev/null && pwd)"
export ZLIBDIR
if [ -z "${ZLIBDIR}" -o ! -f "${ZLIBDIR}/lib/libz.a" ]; then
unset ZLIBDIR
fi
# Copy user specified kit.rc and tclkit.ico in to build directory, if found
cp "${KITCREATOR_ICON}" "${BUILDDIR}/tclkit.ico"
cp "${KITCREATOR_RC}" "${BUILDDIR}/kit.rc"
# Include extra objects as required
## Initialize list of extra objects
EXTRA_OBJS=""
export EXTRA_OBJS
|