Added gettext-runtime and gettext-tools 0.17 templates.

--HG--
extra : convert_revision : 2b438f6d2798207327249cd0c5736291dd8f7aed
This commit is contained in:
Juan RP 2008-10-11 08:40:18 +02:00
parent f030c1fae5
commit 1ff8e9e747
4 changed files with 68 additions and 0 deletions

Binary file not shown.

20
templates/gettext-runtime.tmpl Executable file
View File

@ -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 <xtraeme@gmail.com>"
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."

View File

@ -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=

24
templates/gettext-tools.tmpl Executable file
View File

@ -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 <xtraeme@gmail.com>"
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."