wok-6.x rev 16023
wireless_tools: cross compile to ARM (I need USB wifi now my RPi boot SliTaz ARM like a charm :-)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu Mar 06 22:19:44 2014 +0100 (2014-03-06) |
parents | 592369f78d12 |
children | f6c50dca5c38 |
files | wireless_tools-dev/receipt wireless_tools/receipt |
line diff
1.1 --- a/wireless_tools-dev/receipt Thu Mar 06 19:57:41 2014 +0000 1.2 +++ b/wireless_tools-dev/receipt Thu Mar 06 22:19:44 2014 +0100 1.3 @@ -8,6 +8,7 @@ 1.4 LICENSE="GPL2" 1.5 WANTED="wireless_tools" 1.6 WEB_SITE="http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/Tools.html" 1.7 +HOST_ARCH="i486 arm" 1.8 1.9 DEPENDS="wireless_tools" 1.10
2.1 --- a/wireless_tools/receipt Thu Mar 06 19:57:41 2014 +0000 2.2 +++ b/wireless_tools/receipt Thu Mar 06 22:19:44 2014 +0100 2.3 @@ -10,22 +10,22 @@ 2.4 TARBALL="${PACKAGE}.${VERSION}.tar.gz" 2.5 WEB_SITE="http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/Tools.html" 2.6 WGET_URL="http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/$TARBALL" 2.7 -TAGS="wireless" 2.8 +HOST_ARCH="i486 arm" 2.9 2.10 +TAGS="wireless wifi network" 2.11 DEPENDS="" 2.12 2.13 # Rules to configure and make the package. 2.14 compile_rules() 2.15 { 2.16 - cd $src 2.17 - make PREFIX=$DESTDIR/usr 2.18 + make CC=${HOST_SYSTEM}-gcc PREFIX=$DESTDIR/usr 2.19 make PREFIX=$DESTDIR/usr install 2.20 } 2.21 2.22 # Rules to gen a SliTaz package suitable for Tazpkg. 2.23 genpkg_rules() 2.24 { 2.25 - mkdir -p $fs/usr/lib $fs/usr/bin $fs/usr/share/applications 2.26 + mkdir -p $fs/usr/lib $fs/usr/bin 2.27 cp -a $install/usr/sbin $fs/usr 2.28 cp -a $install/usr/lib/*.so* $fs/usr/lib 2.29 }