From 1ff8e9e7478a3a8a334cdf93c60e1f76a6094bdb Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sat, 11 Oct 2008 08:40:18 +0200 Subject: [PATCH] Added gettext-runtime and gettext-tools 0.17 templates. --HG-- extra : convert_revision : 2b438f6d2798207327249cd0c5736291dd8f7aed --- dependencies/build-depends.db | Bin 19456 -> 19456 bytes templates/gettext-runtime.tmpl | 20 +++++++++++++++++++ templates/gettext-tools-fix-install.diff | 24 +++++++++++++++++++++++ templates/gettext-tools.tmpl | 24 +++++++++++++++++++++++ 4 files changed, 68 insertions(+) create mode 100755 templates/gettext-runtime.tmpl create mode 100644 templates/gettext-tools-fix-install.diff create mode 100755 templates/gettext-tools.tmpl diff --git a/dependencies/build-depends.db b/dependencies/build-depends.db index f2db546d2f82c6ac5f2955f656fa72710206808d..fb448502996a3b80c0175bbda69e0831139ee864 100644 GIT binary patch delta 90 zcmZpe!Pqc^af5&trxe2ih7*hn7+y?Nte)(k$0F~*00il&C44|iAIdICtting$e1U^y^BXS_MgX8@3grL* diff --git a/templates/gettext-runtime.tmpl b/templates/gettext-runtime.tmpl new file mode 100755 index 00000000000..eea3af7075a --- /dev/null +++ b/templates/gettext-runtime.tmpl @@ -0,0 +1,20 @@ +# Template build file for 'gettext-runtime'. +pkgname=gettext-runtime +version=0.17 +distfiles="gettext-$version" +wrksrc="gettext-$version/gettext-runtime" +extract_sufx=".tar.gz" +url=http://ftp.gnu.org/pub/gnu/gettext +build_style=gnu_configure +configure_args="--disable-libasprintf" +make_cmd="$PKGFS_MASTERDIR/bin/gmake" +ignore_files="charset.alias" +short_desc="Internationalized Message Handling Library (runtime tools)" +maintainer="Juan RP " +checksum=36df9d4ad2848ec26729781e0d7e25b419e7d261 +long_desc=" + GNU gettext provides the necessary tools and libraries for handling + messages in different languages, as one of the steps to + internationalisation (or i18n) of a utility. + + This package provides the runtime tools and the library itself." diff --git a/templates/gettext-tools-fix-install.diff b/templates/gettext-tools-fix-install.diff new file mode 100644 index 00000000000..5b155ce3d09 --- /dev/null +++ b/templates/gettext-tools-fix-install.diff @@ -0,0 +1,24 @@ +--- Makefile.in.orig 2008-10-11 08:04:37.000000000 +0200 ++++ Makefile.in 2008-10-11 08:06:06.000000000 +0200 +@@ -724,7 +724,7 @@ top_builddir = @top_builddir@ + top_srcdir = @top_srcdir@ + AUTOMAKE_OPTIONS = 1.5 gnu no-dependencies + ACLOCAL_AMFLAGS = -I m4 -I ../gettext-runtime/m4 -I ../autoconf-lib-link/m4 -I ../m4 -I gnulib-m4 -I libgettextpo/gnulib-m4 +-SUBDIRS = doc intl gnulib-lib libgrep src libgettextpo po projects styles misc man m4 tests gnulib-tests examples ++SUBDIRS = doc intl gnulib-lib libgrep src libgettextpo po projects styles misc man tests gnulib-tests examples + + # Allow users to use "gnulib-tool --update". + +--- configure.orig 2008-10-11 08:14:23.000000000 +0200 ++++ configure 2008-10-11 08:14:52.000000000 +0200 +@@ -30510,10 +30510,6 @@ echo "${ECHO_T}$ac_res" >&6; } + + if test "$nls_cv_use_gnu_gettext" = "yes"; then + BUILD_INCLUDED_LIBINTL=yes +- USE_INCLUDED_LIBINTL=yes +- LIBINTL="\${top_builddir}/intl/libintl.la $LIBICONV $LIBTHREAD" +- LTLIBINTL="\${top_builddir}/intl/libintl.la $LTLIBICONV $LTLIBTHREAD" +- LIBS=`echo " $LIBS " | sed -e 's/ -lintl / /' -e 's/^ //' -e 's/ $//'` + fi + + CATOBJEXT= diff --git a/templates/gettext-tools.tmpl b/templates/gettext-tools.tmpl new file mode 100755 index 00000000000..4728fc4c941 --- /dev/null +++ b/templates/gettext-tools.tmpl @@ -0,0 +1,24 @@ +# Template build file for 'gettext-tools'. +pkgname=gettext-tools +version=0.17 +patch_files="$pkgname-fix-install.diff" +distfiles="gettext-$version" +wrksrc="gettext-$version/gettext-tools" +extract_sufx=".tar.gz" +url=http://ftp.gnu.org/pub/gnu/gettext +build_style=gnu_configure +configure_args="--disable-libasprintf --without-emacs --disable-java + --disable-native-java --enable-threads=posix --disable-openmp + --without-included-gettext --with-libintl-prefix=$PKGFS_MASTERDIR" +make_cmd="$PKGFS_MASTERDIR/bin/gmake" +LDFLAGS="-lintl" +ignore_files="charset.alias locale.alias" +short_desc="Internationalized Message Handling Library (developer tools)" +maintainer="Juan RP " +checksum=36df9d4ad2848ec26729781e0d7e25b419e7d261 +long_desc=" + GNU gettext provides the necessary tools and libraries for handling + messages in different languages, as one of the steps to + internationalisation (or i18n) of a utility. + + This package provides the developer tools, examples and documentation."