wok-6.x diff libxml2-dev/receipt @ rev 12817

libxml2: cross compile for ARM
author Christophe Lincoln <pankso@slitaz.org>
date Mon May 21 01:58:24 2012 +0200 (2012-05-21)
parents 0ec61552352b
children 78f92a2255c1
line diff
     1.1 --- a/libxml2-dev/receipt	Sun Nov 21 18:30:03 2010 +0000
     1.2 +++ b/libxml2-dev/receipt	Mon May 21 01:58:24 2012 +0200
     1.3 @@ -8,18 +8,19 @@
     1.4  WANTED="libxml2"
     1.5  DEPENDS="libxml2-tools"
     1.6  WEB_SITE="http://xmlsoft.org/"
     1.7 +HOST_ARCH="i486 arm"
     1.8  
     1.9  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.10  genpkg_rules()
    1.11  {
    1.12  	mkdir -p $fs/usr/lib $fs/usr/bin $fs/usr/share
    1.13  
    1.14 -	cp -a $_pkg/usr/bin/xml2-config $fs/usr/bin
    1.15 -	cp -a $_pkg/usr/lib/*.sh $fs/usr/bin
    1.16 +	cp -a $install/usr/bin/xml2-config $fs/usr/bin
    1.17 +	cp -a $install/usr/lib/*.sh $fs/usr/bin
    1.18  	chmod +x $fs/usr/bin/*.sh
    1.19  
    1.20 -	cp -a $_pkg/usr/lib/*.*a $fs/usr/lib
    1.21 -	cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib
    1.22 -	cp -a $_pkg/usr/include $fs/usr
    1.23 -	cp -a $_pkg/usr/share/aclocal $fs/usr/share
    1.24 +	cp -a $install/usr/lib/*.*a $fs/usr/lib
    1.25 +	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
    1.26 +	cp -a $install/usr/include $fs/usr
    1.27 +	cp -a $install/usr/share/aclocal $fs/usr/share
    1.28  }