#!/bin/bash
-CONFIGURE_OPTS="\
- --prefix=/tools \
- --build=${CLFS_HOST} \
- --host=${CLFS_TARGET} \
- ${CONFIGURE_OPTS}"
-
# When cross-compiling the Gettext configure script assumes we don't have a
# working wcwidth when we do. The following will fix possible compilation
# errors because of this assumption:
EOF
}
-hvconfig()
-{
- cd ${LFS_TMP}/${PACKAGE}/gettext-tools
-
- echo "Running configure with options:"
- echo " <${CONFIGURE_OPTS}>"
-
- CC="${CC} ${CLFS_BUILDFLAGS}" CXX="${CXX} ${CLFS_BUILDFLAGS}" \
- ./configure ${CONFIGURE_OPTS}
-}
-
hvbuild()
{
- cd ${LFS_TMP}/${PACKAGE}/gettext-tools
-
${HVMAKE} -C gnulib-lib
${HVMAKE} -C src msgfmt
cp -v src/msgfmt /tools/bin