wok-current rev 16312
ARM: add libpaper and libsdl-pango
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Apr 09 11:39:21 2014 +0200 (2014-04-09) |
parents | 5f72ca8e3060 |
children | e3c24dc3326c |
files | libpaper-dev/receipt libpaper/receipt libsdl-pango-dev/receipt libsdl-pango/receipt |
line diff
1.1 --- a/libpaper-dev/receipt Wed Apr 09 08:33:25 2014 +0000 1.2 +++ b/libpaper-dev/receipt Wed Apr 09 11:39:21 2014 +0200 1.3 @@ -8,6 +8,7 @@ 1.4 LICENSE="GPL2" 1.5 WANTED="libpaper" 1.6 WEB_SITE="http://packages.debian.org/unstable/source/libpaper" 1.7 +HOST_ARCH="i486 arm" 1.8 1.9 # Rules to gen a SliTaz package suitable for Tazpkg. 1.10 genpkg_rules()
2.1 --- a/libpaper/receipt Wed Apr 09 08:33:25 2014 +0000 2.2 +++ b/libpaper/receipt Wed Apr 09 11:39:21 2014 +0200 2.3 @@ -9,6 +9,7 @@ 2.4 TARBALL="${PACKAGE}_$VERSION+nmu1.tar.gz" 2.5 WEB_SITE="http://packages.debian.org/unstable/source/libpaper" 2.6 WGET_URL="http://ftp.de.debian.org/debian/pool/main/libp/libpaper/$TARBALL" 2.7 +HOST_ARCH="i486 arm" 2.8 2.9 # Rules to configure and make the package. 2.10 compile_rules()
3.1 --- a/libsdl-pango-dev/receipt Wed Apr 09 08:33:25 2014 +0000 3.2 +++ b/libsdl-pango-dev/receipt Wed Apr 09 11:39:21 2014 +0200 3.3 @@ -8,7 +8,7 @@ 3.4 LICENSE="LGPL2.1" 3.5 WEB_SITE="http://sdlpango.sourceforge.net/" 3.6 WANTED="libsdl-pango" 3.7 -SOURCE="SDL_Pango" 3.8 +HOST_ARCH="i486 arm" 3.9 3.10 DEPENDS="libsdl-pango pango-dev pkg-config" 3.11
4.1 --- a/libsdl-pango/receipt Wed Apr 09 08:33:25 2014 +0000 4.2 +++ b/libsdl-pango/receipt Wed Apr 09 11:39:21 2014 +0200 4.3 @@ -10,22 +10,24 @@ 4.4 TARBALL="$SOURCE-$VERSION.tar.gz" 4.5 WEB_SITE="http://sdlpango.sourceforge.net/" 4.6 WGET_URL="$SF_MIRROR/sdlpango/$TARBALL" 4.7 +HOST_ARCH="i486 arm" 4.8 4.9 DEPENDS="pango libsdl" 4.10 BUILD_DEPENDS="pango-dev libsdl-dev pkg-config libxml2-dev" 4.11 4.12 +# Handle cross compilation 4.13 +case "$ARCH" in 4.14 + arm*) ARCH_MAKE="LIBS=/cross/$ARCH/sysroot/usr/lib" ;; 4.15 +esac 4.16 + 4.17 # Rules to configure and make the package. 4.18 compile_rules() 4.19 { 4.20 - cd $src 4.21 patch -Np0 -i $stuff/SDL_Pango-$VERSION-API-adds.patch 4.22 patch -Np1 -i $stuff/matrix_declarations.patch 4.23 ./configure \ 4.24 - --prefix=/usr \ 4.25 - --infodir=/usr/share/info \ 4.26 - --mandir=/usr/share/man \ 4.27 $CONFIGURE_ARGS && 4.28 - make && make DESTDIR=$DESTDIR install 4.29 + make ${ARCH_MAKE} && make DESTDIR=$DESTDIR install 4.30 } 4.31 4.32 # Rules to gen a SliTaz package suitable for Tazpkg.