wok rev 12837
nano: cross compile for ARM
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue May 22 19:25:39 2012 +0200 (2012-05-22) |
parents | 5f1254dc8217 |
children | 78ea2beafc03 |
files | nano/receipt |
line diff
1.1 --- a/nano/receipt Tue May 22 19:06:11 2012 +0200 1.2 +++ b/nano/receipt Tue May 22 19:25:39 2012 +0200 1.3 @@ -9,10 +9,13 @@ 1.4 WEB_SITE="http://www.nano-editor.org/" 1.5 WGET_URL="$WEB_SITE/dist/v2.2/$TARBALL" 1.6 TAGS="text-editor" 1.7 +HOST_ARCH="i486 arm" 1.8 1.9 DEPENDS="ncursesw" 1.10 BUILD_DEPENDS="ncursesw-dev" 1.11 1.12 +export LDFLAGS="-L/usr/cross/arm/lib -L/usr/cross/arm/usr/lib" 1.13 + 1.14 # Rules to configure and make the package. 1.15 compile_rules() 1.16 { 1.17 @@ -29,8 +32,8 @@ 1.18 genpkg_rules() 1.19 { 1.20 mkdir -p $fs/usr/share $fs/etc 1.21 - cp -a $_pkg/usr/bin $fs/usr 1.22 - cp -a $_pkg/usr/share/nano $fs/usr/share 1.23 + cp -a $install/usr/bin $fs/usr 1.24 + cp -a $install/usr/share/nano $fs/usr/share 1.25 # Config file. 1.26 cp $stuff/nanorc $fs/etc 1.27 }