wok diff xfe/receipt @ rev 16086

libsdl: fix last commit
author Christophe Lincoln <pankso@slitaz.org>
date Sun Mar 16 01:05:20 2014 +0100 (2014-03-16)
parents 380ffe05937a
children 809051a5c75a
line diff
     1.1 --- a/xfe/receipt	Sat Aug 10 17:00:38 2013 +0000
     1.2 +++ b/xfe/receipt	Sun Mar 16 01:05:20 2014 +0100
     1.3 @@ -9,20 +9,24 @@
     1.4  TARBALL="$PACKAGE-$VERSION.tar.gz"
     1.5  WEB_SITE="http://roland65.free.fr/xfe/"
     1.6  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
     1.7 +HOST_ARCH="i486 arm"
     1.8 +
     1.9  SUGGESTED="adie calculator shutterbug xfe-extras"
    1.10 +DEPENDS="libpng jpeg tiff xorg-libXft fox"
    1.11 +BUILD_DEPENDS="libpng-dev jpeg-dev tiff-dev xorg-libXft-dev fox-dev"
    1.12 +GENERIC_MENUS="no"
    1.13  
    1.14 -DEPENDS="libpng jpeg tiff xorg-libXft fox"
    1.15 -BUILD_DEPENDS="$DEPENDS libpng-dev jpeg-dev tiff-dev xorg-libXft-dev fox-dev intltool"
    1.16 -
    1.17 -GENERIC_MENUS=no
    1.18 -
    1.19 +# Handle cross compilation.
    1.20 +case "$ARCH" in
    1.21 +	i?86) BUILD_DEPENDS="$BUILD_DEPENDS intltool" ;;
    1.22 +	arm)
    1.23 +		export CFLAGS="$CFLAGS -L/cross/$ARCH/sysroot/usr/lib" ;;
    1.24 +esac
    1.25  
    1.26  # Rules to configure and make the package.
    1.27  compile_rules()
    1.28  {
    1.29 -	cd $src
    1.30  	./configure $CONFIGURE_ARGS && make && make install
    1.31 -	
    1.32  }
    1.33  
    1.34  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.35 @@ -36,8 +40,5 @@
    1.36  	cp -a $install/usr/share/xfe/icons/tango-theme \
    1.37  		$fs/usr/share/xfe/icons
    1.38  	cp -a $install/usr/share/xfe/icons/gnome-theme \
    1.39 -		$fs/usr/share/xfe/icons
    1.40 -		
    1.41 -	# Remove unwanted desktop menus.
    1.42 -#	rm -f $fs/usr/share/applications/xf[i,v,p,w].desktop	
    1.43 +		$fs/usr/share/xfe/icons	
    1.44  }