wok diff nano/receipt @ rev 16125
ARM: add xorg-libXdamage and conky
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun Mar 23 22:52:11 2014 +0100 (2014-03-23) |
parents | 2b9f96603415 |
children | fd7c7b825eb9 |
line diff
1.1 --- a/nano/receipt Sat Aug 10 13:52:56 2013 +0000 1.2 +++ b/nano/receipt Sun Mar 23 22:52:11 2014 +0100 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.