# HG changeset patch # User Christophe Lincoln # Date 1394928320 -3600 # Node ID 0514c1f0caa889f7065198893498e9831ccdcf80 # Parent d67887b74cbbc6dc1d76c43d7d9fa704cd77f493 libsdl: fix last commit diff -r d67887b74cbb -r 0514c1f0caa8 libsdl/receipt --- a/libsdl/receipt Sun Mar 16 00:44:38 2014 +0100 +++ b/libsdl/receipt Sun Mar 16 01:05:20 2014 +0100 @@ -17,6 +17,7 @@ xorg-libXrender-dev xorg-libX11-dev" # Handle cross compilation. +case "$ARCH" in arm) BUILD_DEPENDS="xorg-libXt-dev xorg-libXext-dev xorg-libXrender-dev \ xorg-libX11-dev" ;; esac diff -r d67887b74cbb -r 0514c1f0caa8 xfe/receipt --- a/xfe/receipt Sun Mar 16 00:44:38 2014 +0100 +++ b/xfe/receipt Sun Mar 16 01:05:20 2014 +0100 @@ -9,20 +9,24 @@ TARBALL="$PACKAGE-$VERSION.tar.gz" WEB_SITE="http://roland65.free.fr/xfe/" WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" +HOST_ARCH="i486 arm" + SUGGESTED="adie calculator shutterbug xfe-extras" +DEPENDS="libpng jpeg tiff xorg-libXft fox" +BUILD_DEPENDS="libpng-dev jpeg-dev tiff-dev xorg-libXft-dev fox-dev" +GENERIC_MENUS="no" -DEPENDS="libpng jpeg tiff xorg-libXft fox" -BUILD_DEPENDS="$DEPENDS libpng-dev jpeg-dev tiff-dev xorg-libXft-dev fox-dev intltool" - -GENERIC_MENUS=no - +# Handle cross compilation. +case "$ARCH" in + i?86) BUILD_DEPENDS="$BUILD_DEPENDS intltool" ;; + arm) + export CFLAGS="$CFLAGS -L/cross/$ARCH/sysroot/usr/lib" ;; +esac # Rules to configure and make the package. compile_rules() { - cd $src ./configure $CONFIGURE_ARGS && make && make install - } # Rules to gen a SliTaz package suitable for Tazpkg. @@ -36,8 +40,5 @@ cp -a $install/usr/share/xfe/icons/tango-theme \ $fs/usr/share/xfe/icons cp -a $install/usr/share/xfe/icons/gnome-theme \ - $fs/usr/share/xfe/icons - - # Remove unwanted desktop menus. -# rm -f $fs/usr/share/applications/xf[i,v,p,w].desktop + $fs/usr/share/xfe/icons }