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

Up: mc, mhwaveedit, viewnior
author Alexander Medvedev <devl547@gmail.com>
date Mon Dec 31 12:03:41 2012 +0300 (2012-12-31)
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	Mon Dec 31 12:03:41 2012 +0300
     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  }