wok-next diff nano/receipt @ rev 16270
Add: prelink (20130503)
author | Alexander Medvedev <devl547@gmail.com> |
---|---|
date | Sat Apr 05 20:34:28 2014 +0000 (2014-04-05) |
parents | 2b9f96603415 |
children | fd7c7b825eb9 |
line diff
1.1 --- a/nano/receipt Sat Aug 10 13:52:56 2013 +0000 1.2 +++ b/nano/receipt Sat Apr 05 20:34:28 2014 +0000 1.3 @@ -19,7 +19,13 @@ 1.4 SUGGESTED="gpm" 1.5 BUILD_DEPENDS="ncursesw-dev" 1.6 1.7 -export LDFLAGS="-L/usr/cross/arm/lib -L/usr/cross/arm/usr/lib" 1.8 +# Handle cross compilation 1.9 +case "$ARCH" in 1.10 + arm) 1.11 + export LDFLAGS="-L/usr/cross/arm/lib -L/usr/cross/arm/usr/lib" 1.12 + BUILD_DEPENDS="ncurses-dev";; 1.13 + i?86) ARCH_ARGS="--enable-utf8" ;; 1.14 +esac 1.15 1.16 # Rules to configure and make the package. 1.17 compile_rules() 1.18 @@ -27,10 +33,8 @@ 1.19 ./configure \ 1.20 --sysconfdir=/etc \ 1.21 --localstatedir=/var \ 1.22 - --enable-utf8 \ 1.23 - $CONFIGURE_ARGS && 1.24 - make && 1.25 - make install 1.26 + $CONFIGURE_ARGS $ARCH_ARGS && 1.27 + make && make install 1.28 } 1.29 1.30 # Rules to gen a SliTaz package suitable for Tazpkg.