68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
|
export TEA_PLATFORM
CFLAGS="${CFLAGS} -I${TCLCONFIGDIR}"
export CFLAGS
fi
# Build static version
./configure --disable-shared --prefix="${INSTDIR}" --exec-prefix="${INSTDIR}" --with-tcl="${TCLCONFIGDIR}" ${CONFIGUREEXTRA}
${MAKE:-make} || exit 1
${MAKE:-make} install
mkdir "${OUTDIR}/lib" || exit 1
cp -r "${INSTDIR}/lib"/vfs*/ "${OUTDIR}/lib/"
rm -f "${OUTDIR}/lib"/vfs*/*.a "${OUTDIR}/lib"/vfs*/*.so
exit 0
|
>
>
>
>
>
|
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
|
export TEA_PLATFORM
CFLAGS="${CFLAGS} -I${TCLCONFIGDIR}"
export CFLAGS
fi
# Build static version
echo "Running: ./configure --disable-shared --prefix=\"${INSTDIR}\" --exec-prefix=\"${INSTDIR}\" --with-tcl=\"${TCLCONFIGDIR}\" ${CONFIGUREEXTRA}"
./configure --disable-shared --prefix="${INSTDIR}" --exec-prefix="${INSTDIR}" --with-tcl="${TCLCONFIGDIR}" ${CONFIGUREEXTRA}
echo "Running: ${MAKE:-make}"
${MAKE:-make} || exit 1
echo "Running: ${MAKE:-make} install"
${MAKE:-make} install
mkdir "${OUTDIR}/lib" || exit 1
cp -r "${INSTDIR}/lib"/vfs*/ "${OUTDIR}/lib/"
rm -f "${OUTDIR}/lib"/vfs*/*.a "${OUTDIR}/lib"/vfs*/*.so
exit 0
|