Added gettext-0.17 replacing previous tools/runtime pkgs.

--HG--
extra : convert_revision : d692f873dcf57fd7adeb402ee9143bc24e23082f
This commit is contained in:
Juan RP 2008-10-24 05:47:41 +02:00
parent b23764df75
commit cdb1f0811f
5 changed files with 16 additions and 91 deletions

View File

@ -1,23 +0,0 @@
Don't link against libintl from base, will cause conflicts when this
package is installed.
--- Makefile.in.orig 2008-10-11 09:28:14.000000000 +0200
+++ Makefile.in 2008-10-11 09:28:32.000000000 +0200
@@ -350,7 +350,7 @@ LDFLAGS = @LDFLAGS@
LIBGRT_LIBDEPS = @LIBGRT_LIBDEPS@
LIBGRT_LTLIBDEPS = @LIBGRT_LTLIBDEPS@
LIBICONV = @LIBICONV@
-LIBINTL = @LIBINTL@
+LIBINTL =
LIBMULTITHREAD = @LIBMULTITHREAD@
LIBOBJS = @LIBOBJS@
LIBPTH = @LIBPTH@
@@ -362,7 +362,7 @@ LIBTOOL = @LIBTOOL@
LN_S = @LN_S@
LTLIBC = @LTLIBC@
LTLIBICONV = @LTLIBICONV@
-LTLIBINTL = @LTLIBINTL@
+LTLIBINTL =
LTLIBMULTITHREAD = @LTLIBMULTITHREAD@
LTLIBOBJS = @LTLIBOBJS@
LTLIBPTH = @LTLIBPTH@

View File

@ -1,20 +0,0 @@
# Template build file for 'gettext-runtime'.
pkgname=gettext-runtime
version=0.17
patch_files="$pkgname-fix-build.diff"
wrksrc="gettext-$version/gettext-runtime"
distfiles="
http://ftp.gnu.org/pub/gnu/gettext/gettext-$version@.tar.gz"
build_style=gnu_configure
configure_args="--disable-libasprintf"
make_cmd="$XBPS_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

@ -1,24 +0,0 @@
--- 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=

View File

@ -1,24 +0,0 @@
# Template build file for 'gettext-tools'.
pkgname=gettext-tools
version=0.17
patch_files="$pkgname-fix-install.diff"
wrksrc="gettext-$version/gettext-tools"
distfiles="
http://ftp.gnu.org/pub/gnu/gettext/gettext-$version@.tar.gz"
build_style=gnu_configure
configure_args="--disable-libasprintf --without-emacs --disable-java
--disable-native-java --enable-threads=posix --disable-openmp
--with-included-glib --with-included-expat --with-included-libxml2
--with-libintl-prefix=$XBPS_MASTERDIR"
LDFLAGS="$XBPS_MASTERDIR/lib/libintl.so"
make_cmd="$XBPS_MASTERDIR/bin/gmake"
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."

16
templates/gettext.tmpl Normal file
View File

@ -0,0 +1,16 @@
# Template build file for 'gettext'.
pkgname=gettext
version=0.17
distfiles="
http://ftp.gnu.org/pub/gnu/gettext/gettext-$version@.tar.gz"
build_style=gnu_configure
short_desc="Internationalized Message Handling Library and tools"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=209638bb8e162f22c281145a34e220c66f1f6e9ff5e4c50c6f2ef2ded59537ba
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."
build_depends="ncurses-5.6"
run_depends="glibc-2.8"