wok-6.x diff gettext-base/receipt @ rev 12965

Up: slitaz-base-files (5.2.3)
author Christophe Lincoln <pankso@slitaz.org>
date Fri Jun 01 08:32:45 2012 +0200 (2012-06-01)
parents a246ea85cf2b
children c40da21aa3a1
line diff
     1.1 --- a/gettext-base/receipt	Thu Jan 27 00:20:49 2011 +0100
     1.2 +++ b/gettext-base/receipt	Fri Jun 01 08:32:45 2012 +0200
     1.3 @@ -8,14 +8,21 @@
     1.4  DEPENDS="glibc-base"
     1.5  WANTED="gettext"
     1.6  WEB_SITE="http://www.gnu.org/software/gettext/"
     1.7 +HOST_ARCH="i486 arm"
     1.8 +
     1.9 +# Just to be sure when cross compiling, gettext is part of base system.
    1.10 +testsuite()
    1.11 +{
    1.12 +	readelf -h $install/usr/bin/gettext
    1.13 +}
    1.14  
    1.15  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.16  genpkg_rules()
    1.17  {
    1.18  	mkdir -p $fs/usr/bin
    1.19 -	cp -a $_pkg/usr/bin/gettext $fs/usr/bin
    1.20 -	cp -a $_pkg/usr/bin/gettext.sh $fs/usr/bin
    1.21 +	cp -a $install/usr/bin/gettext $fs/usr/bin
    1.22 +	cp -a $install/usr/bin/gettext.sh $fs/usr/bin
    1.23  	# These are used in gettext.sh so there needed
    1.24 -	cp -a $_pkg/usr/bin/envsubst $fs/usr/bin
    1.25 -	cp -a $_pkg/usr/bin/ngettext $fs/usr/bin
    1.26 +	cp -a $install/usr/bin/envsubst $fs/usr/bin
    1.27 +	cp -a $install/usr/bin/ngettext $fs/usr/bin
    1.28  }