wok diff libsdl-pango/receipt @ rev 18457

Add ldapfuse
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Sep 28 12:50:42 2015 +0200 (2015-09-28)
parents ee5c8b018b62
children 65d7d867e0c1
line diff
     1.1 --- a/libsdl-pango/receipt	Thu Dec 05 20:42:36 2013 +0000
     1.2 +++ b/libsdl-pango/receipt	Mon Sep 28 12:50:42 2015 +0200
     1.3 @@ -10,22 +10,24 @@
     1.4  TARBALL="$SOURCE-$VERSION.tar.gz"
     1.5  WEB_SITE="http://sdlpango.sourceforge.net/"
     1.6  WGET_URL="$SF_MIRROR/sdlpango/$TARBALL"
     1.7 +HOST_ARCH="i486 arm"
     1.8  
     1.9  DEPENDS="pango libsdl"
    1.10  BUILD_DEPENDS="pango-dev libsdl-dev pkg-config libxml2-dev"
    1.11  
    1.12 +# Handle cross compilation
    1.13 +case "$ARCH" in
    1.14 +	arm*) ARCH_MAKE="LIBS=/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  	patch -Np0 -i $stuff/SDL_Pango-$VERSION-API-adds.patch
    1.22  	patch -Np1 -i $stuff/matrix_declarations.patch
    1.23  	./configure \
    1.24 -		--prefix=/usr \
    1.25 -		--infodir=/usr/share/info \
    1.26 -		--mandir=/usr/share/man \
    1.27  		$CONFIGURE_ARGS &&
    1.28 -	make && make DESTDIR=$DESTDIR install
    1.29 +	make ${ARCH_MAKE} && make DESTDIR=$DESTDIR install
    1.30  }
    1.31  
    1.32  # Rules to gen a SliTaz package suitable for Tazpkg.