52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
|
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
|
-
-
+
+
|
${PATCH:-patch} -p1 < "${patch}"
done
cp generic/vfs.c .
# Build static version
./configure --disable-shared --prefix="${INSTDIR}" --exec-prefix="${INSTDIR}" --with-tcl="${TCLCONFIGDIR}" ${CONFIGUREEXTRA}
"${MAKE:-make}" || exit 1
"${MAKE:-make}" install
${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
) || exit 1
|