void-packages/helper-templates/external-gettext.sh
Juan RP 8a0d474c67 Added GIMP 2.6.1 template and other related stuff required.
Another helper was made to be able to build GIMP, which will use the
external gettext-tools package when a template needs it.

--HG--
extra : convert_revision : 80ebdea771b9dec28a1741b5fcae6bd17b50b143
2008-10-11 09:17:47 +02:00

14 lines
583 B
Bash
Executable file

#
# This helper overrides some GNU autoconf variables to be able to
# use the external GNU gettext tools provided by a package.
#
local GMSGFMT_CMD="$PKGFS_MASTERDIR/bin/msgfmt"
local MSGFMT_CMD="$PKGFS_MASTERDIR/bin/msgfmt"
local MSGMERGE_CMD="$PKGFS_MASTERDIR/bin/msgmerge"
local XGETTEXT_CMD="$PKGFS_MASTERDIR/bin/xgettext"
configure_env="ac_cv_path_GMSGFMT=$GMSGFMT_CMD $configure_env"
configure_env="ac_cv_path_MSGFMT=$MSGFMT_CMD $configure_env"
configure_env="ac_cv_path_MSGMERGE=$MSGMERGE_CMD $configure_env"
configure_env="ac_cv_path_XGETTEXT=$XGETTEXT_CMD $configure_env"