# HG changeset patch # User Aleksej Bobylev # Date 1489512374 -7200 # Node ID 0e72c977bd24107c7cc3fda00ada8fe8a4d731d5 # Parent e25ff83b65ed002d6869902e7868548593065c15 Up gettext (0.19.8.1) diff -r e25ff83b65ed -r 0e72c977bd24 gettext-base/receipt --- a/gettext-base/receipt Tue Mar 14 13:43:16 2017 +0100 +++ b/gettext-base/receipt Tue Mar 14 19:26:14 2017 +0200 @@ -1,7 +1,7 @@ # SliTaz package receipt. PACKAGE="gettext-base" -VERSION="0.19.4" +VERSION="0.19.8.1" CATEGORY="base-system" SHORT_DESC="Base tools from the GNU Translation Project." MAINTAINER="pankso@slitaz.org" @@ -21,10 +21,6 @@ # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr/bin - install -m755 $install/usr/bin/gettext \ - $stuff/gettext.sh \ - $install/usr/bin/envsubst \ - $install/usr/bin/ngettext \ - $fs/usr/bin + cook_copy_files gettext ngettext envsubst + install -m755 $stuff/gettext.sh $fs/usr/bin } diff -r e25ff83b65ed -r 0e72c977bd24 gettext-tools/receipt --- a/gettext-tools/receipt Tue Mar 14 13:43:16 2017 +0100 +++ b/gettext-tools/receipt Tue Mar 14 19:26:14 2017 +0200 @@ -1,7 +1,7 @@ # SliTaz package receipt. PACKAGE="gettext-tools" -VERSION="0.19.4" +VERSION="0.19.8.1" CATEGORY="libs" SHORT_DESC="GNU gettext tools to manage translations" MAINTAINER="al.bobylev@gmail.com" @@ -9,22 +9,11 @@ WEB_SITE="http://www.gnu.org/software/gettext/" WANTED="gettext" -DEPENDS="acl glib libgomp" +DEPENDS="acl attr glib libcroco libgomp liblzma libxml2 pcre zlib" # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p \ - $fs/usr/bin \ - $fs/usr/lib - cp -a \ - $install/usr/bin/msgcat \ - $install/usr/bin/msgfmt \ - $install/usr/bin/msgmerge \ - $install/usr/bin/xgettext \ - $fs/usr/bin - cp -a \ - $install/usr/lib/libgettextlib*.so* \ - $install/usr/lib/libgettextsrc*.so* \ - $fs/usr/lib + cook_copy_files msgcat msgfmt msgmerge xgettext libgettextlib*.so* \ + libgettextsrc*.so* } diff -r e25ff83b65ed -r 0e72c977bd24 gettext/receipt --- a/gettext/receipt Tue Mar 14 13:43:16 2017 +0100 +++ b/gettext/receipt Tue Mar 14 19:26:14 2017 +0200 @@ -1,20 +1,22 @@ # SliTaz package receipt. PACKAGE="gettext" -VERSION="0.19.4" +VERSION="0.19.8.1" CATEGORY="development" SHORT_DESC="Utilities for the GNU Translation Project." MAINTAINER="pankso@slitaz.org" LICENSE="GPL3" -TARBALL="$PACKAGE-$VERSION.tar.gz" -WEB_SITE="http://www.gnu.org/software/gettext/" -WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" +WEB_SITE="https://www.gnu.org/software/gettext/" HOST_ARCH="i486 arm" -# Why deps on glib-dev ??? And glib build depends on gettext anyway... -DEPENDS="gettext-base libgomp acl-dev gcc-lib-base glib-dev libxml2-dev m4 \ -ncurses gettext-tools liblzma" -BUILD_DEPENDS="acl attr-dev glib-dev libxml2-dev ncurses-dev liblzma-dev" +TARBALL="$PACKAGE-$VERSION.tar.xz" +WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" + +# Runtime depends, then dev-depends +DEPENDS="gettext-base gettext-tools libcroco liblzma libxml2 \ +acl-dev attr-dev libcroco-dev libxml2-dev glib-dev pcre-dev m4" +BUILD_DEPENDS="libcroco-dev libxml2-dev glib-dev acl-dev" +SPLIT="gettext-base gettext-tools" # Handle cross compilation. Glibc-locale are installed in cross chroot. case "$ARCH" in