wok diff giblib/receipt @ rev 16421
slitaz-*-configs*: Update receipt
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri Apr 18 04:11:16 2014 +0200 (2014-04-18) |
parents | de49f29b101e |
children | f6af821600e6 |
line diff
1.1 --- a/giblib/receipt Thu Dec 05 15:25:09 2013 +0000 1.2 +++ b/giblib/receipt Fri Apr 18 04:11:16 2014 +0200 1.3 @@ -9,15 +9,23 @@ 1.4 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.5 WEB_SITE="http://linuxbrit.co.uk/feh/" 1.6 WGET_URL="http://linuxbrit.co.uk/downloads/$TARBALL" 1.7 +HOST_ARCH="i486 arm" 1.8 1.9 DEPENDS="imlib2 freetype xorg-libX11 xorg-libXau xorg-libXdmcp xorg-libXext" 1.10 BUILD_DEPENDS="imlib2-dev imlib2 xorg-xproto freetype-dev xorg-libXext-dev" 1.11 1.12 +# Handle cross compilation 1.13 +case "$ARCH" in 1.14 + arm*) export CFLAGS="$CFLAGS -L/cross/$ARCH/sysroot/usr/lib" ;; 1.15 +esac 1.16 + 1.17 # Rules to configure and make the package. 1.18 compile_rules() 1.19 { 1.20 - cd $src 1.21 - ./configure --prefix=/usr $CONFIGURE_ARGS && 1.22 + 1.23 + ./configure \ 1.24 + --prefix=/usr \ 1.25 + $CONFIGURE_ARGS && 1.26 make && 1.27 make DESTDIR=$DESTDIR install 1.28 }