# HG changeset patch # User Christophe Lincoln # Date 1397036361 -7200 # Node ID 412cfae4a54c0ee87f5ec5b8f02ad3a20fb547fe # Parent 5f72ca8e306067a62d56e479c49e59d6226891bc ARM: add libpaper and libsdl-pango diff -r 5f72ca8e3060 -r 412cfae4a54c libpaper-dev/receipt --- a/libpaper-dev/receipt Wed Apr 09 08:33:25 2014 +0000 +++ b/libpaper-dev/receipt Wed Apr 09 11:39:21 2014 +0200 @@ -8,6 +8,7 @@ LICENSE="GPL2" WANTED="libpaper" WEB_SITE="http://packages.debian.org/unstable/source/libpaper" +HOST_ARCH="i486 arm" # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() diff -r 5f72ca8e3060 -r 412cfae4a54c libpaper/receipt --- a/libpaper/receipt Wed Apr 09 08:33:25 2014 +0000 +++ b/libpaper/receipt Wed Apr 09 11:39:21 2014 +0200 @@ -9,6 +9,7 @@ TARBALL="${PACKAGE}_$VERSION+nmu1.tar.gz" WEB_SITE="http://packages.debian.org/unstable/source/libpaper" WGET_URL="http://ftp.de.debian.org/debian/pool/main/libp/libpaper/$TARBALL" +HOST_ARCH="i486 arm" # Rules to configure and make the package. compile_rules() diff -r 5f72ca8e3060 -r 412cfae4a54c libsdl-pango-dev/receipt --- a/libsdl-pango-dev/receipt Wed Apr 09 08:33:25 2014 +0000 +++ b/libsdl-pango-dev/receipt Wed Apr 09 11:39:21 2014 +0200 @@ -8,7 +8,7 @@ LICENSE="LGPL2.1" WEB_SITE="http://sdlpango.sourceforge.net/" WANTED="libsdl-pango" -SOURCE="SDL_Pango" +HOST_ARCH="i486 arm" DEPENDS="libsdl-pango pango-dev pkg-config" diff -r 5f72ca8e3060 -r 412cfae4a54c libsdl-pango/receipt --- a/libsdl-pango/receipt Wed Apr 09 08:33:25 2014 +0000 +++ b/libsdl-pango/receipt Wed Apr 09 11:39:21 2014 +0200 @@ -10,22 +10,24 @@ TARBALL="$SOURCE-$VERSION.tar.gz" WEB_SITE="http://sdlpango.sourceforge.net/" WGET_URL="$SF_MIRROR/sdlpango/$TARBALL" +HOST_ARCH="i486 arm" DEPENDS="pango libsdl" BUILD_DEPENDS="pango-dev libsdl-dev pkg-config libxml2-dev" +# Handle cross compilation +case "$ARCH" in + arm*) ARCH_MAKE="LIBS=/cross/$ARCH/sysroot/usr/lib" ;; +esac + # Rules to configure and make the package. compile_rules() { - cd $src patch -Np0 -i $stuff/SDL_Pango-$VERSION-API-adds.patch patch -Np1 -i $stuff/matrix_declarations.patch ./configure \ - --prefix=/usr \ - --infodir=/usr/share/info \ - --mandir=/usr/share/man \ $CONFIGURE_ARGS && - make && make DESTDIR=$DESTDIR install + make ${ARCH_MAKE} && make DESTDIR=$DESTDIR install } # Rules to gen a SliTaz package suitable for Tazpkg.