wok-6.x 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 | d67887b74cbb |
children | 809051a5c75a |
files | libsdl/receipt xfe/receipt |
line diff
1.1 --- a/libsdl/receipt Sun Mar 16 00:44:38 2014 +0100 1.2 +++ b/libsdl/receipt Sun Mar 16 01:05:20 2014 +0100 1.3 @@ -17,6 +17,7 @@ 1.4 xorg-libXrender-dev xorg-libX11-dev" 1.5 1.6 # Handle cross compilation. 1.7 +case "$ARCH" in 1.8 arm) BUILD_DEPENDS="xorg-libXt-dev xorg-libXext-dev xorg-libXrender-dev \ 1.9 xorg-libX11-dev" ;; 1.10 esac
2.1 --- a/xfe/receipt Sun Mar 16 00:44:38 2014 +0100 2.2 +++ b/xfe/receipt Sun Mar 16 01:05:20 2014 +0100 2.3 @@ -9,20 +9,24 @@ 2.4 TARBALL="$PACKAGE-$VERSION.tar.gz" 2.5 WEB_SITE="http://roland65.free.fr/xfe/" 2.6 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 2.7 +HOST_ARCH="i486 arm" 2.8 + 2.9 SUGGESTED="adie calculator shutterbug xfe-extras" 2.10 +DEPENDS="libpng jpeg tiff xorg-libXft fox" 2.11 +BUILD_DEPENDS="libpng-dev jpeg-dev tiff-dev xorg-libXft-dev fox-dev" 2.12 +GENERIC_MENUS="no" 2.13 2.14 -DEPENDS="libpng jpeg tiff xorg-libXft fox" 2.15 -BUILD_DEPENDS="$DEPENDS libpng-dev jpeg-dev tiff-dev xorg-libXft-dev fox-dev intltool" 2.16 - 2.17 -GENERIC_MENUS=no 2.18 - 2.19 +# Handle cross compilation. 2.20 +case "$ARCH" in 2.21 + i?86) BUILD_DEPENDS="$BUILD_DEPENDS intltool" ;; 2.22 + arm) 2.23 + export CFLAGS="$CFLAGS -L/cross/$ARCH/sysroot/usr/lib" ;; 2.24 +esac 2.25 2.26 # Rules to configure and make the package. 2.27 compile_rules() 2.28 { 2.29 - cd $src 2.30 ./configure $CONFIGURE_ARGS && make && make install 2.31 - 2.32 } 2.33 2.34 # Rules to gen a SliTaz package suitable for Tazpkg. 2.35 @@ -36,8 +40,5 @@ 2.36 cp -a $install/usr/share/xfe/icons/tango-theme \ 2.37 $fs/usr/share/xfe/icons 2.38 cp -a $install/usr/share/xfe/icons/gnome-theme \ 2.39 - $fs/usr/share/xfe/icons 2.40 - 2.41 - # Remove unwanted desktop menus. 2.42 -# rm -f $fs/usr/share/applications/xf[i,v,p,w].desktop 2.43 + $fs/usr/share/xfe/icons 2.44 }