# HG changeset patch # User Christophe Lincoln # Date 1394140784 -3600 # Node ID e1d1bc3c15d06e91a1f2c8a6eeb5aace7d62909e # Parent 592369f78d12e709b8b9c1fbdf22e913132b8d83 wireless_tools: cross compile to ARM (I need USB wifi now my RPi boot SliTaz ARM like a charm :-) diff -r 592369f78d12 -r e1d1bc3c15d0 wireless_tools-dev/receipt --- a/wireless_tools-dev/receipt Thu Mar 06 19:57:41 2014 +0000 +++ b/wireless_tools-dev/receipt Thu Mar 06 22:19:44 2014 +0100 @@ -8,6 +8,7 @@ LICENSE="GPL2" WANTED="wireless_tools" WEB_SITE="http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/Tools.html" +HOST_ARCH="i486 arm" DEPENDS="wireless_tools" diff -r 592369f78d12 -r e1d1bc3c15d0 wireless_tools/receipt --- a/wireless_tools/receipt Thu Mar 06 19:57:41 2014 +0000 +++ b/wireless_tools/receipt Thu Mar 06 22:19:44 2014 +0100 @@ -10,22 +10,22 @@ TARBALL="${PACKAGE}.${VERSION}.tar.gz" WEB_SITE="http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/Tools.html" WGET_URL="http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/$TARBALL" -TAGS="wireless" +HOST_ARCH="i486 arm" +TAGS="wireless wifi network" DEPENDS="" # Rules to configure and make the package. compile_rules() { - cd $src - make PREFIX=$DESTDIR/usr + make CC=${HOST_SYSTEM}-gcc PREFIX=$DESTDIR/usr make PREFIX=$DESTDIR/usr install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr/lib $fs/usr/bin $fs/usr/share/applications + mkdir -p $fs/usr/lib $fs/usr/bin cp -a $install/usr/sbin $fs/usr cp -a $install/usr/lib/*.so* $fs/usr/lib }