wok diff cairo/receipt @ rev 16540
Add shaarlo
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Apr 29 08:27:25 2014 +0000 (2014-04-29) |
parents | e6ca13490388 |
children | 02d98b4ae62d |
line diff
1.1 --- a/cairo/receipt Sun Aug 11 21:27:05 2013 +0000 1.2 +++ b/cairo/receipt Tue Apr 29 08:27:25 2014 +0000 1.3 @@ -6,14 +6,21 @@ 1.4 SHORT_DESC="2D graphics library." 1.5 MAINTAINER="pankso@slitaz.org" 1.6 LICENSE="MPL LGPL2.1" 1.7 +TARBALL="$PACKAGE-$VERSION.tar.xz" 1.8 +WEB_SITE="http://www.cairographics.org/" 1.9 +WGET_URL="http://cairographics.org/releases/$TARBALL" 1.10 +HOST_ARCH="i486 arm" 1.11 + 1.12 DEPENDS="glib pixman libpng zlib expat fontconfig freetype xorg-libX11 \ 1.13 xorg-libXau xorg-libXdmcp xorg-libXrender xcb-util libxcb" 1.14 BUILD_DEPENDS="pkg-config glib-dev libpng-dev zlib-dev fontconfig-dev \ 1.15 freetype-dev xorg-libX11-dev pixman-dev xorg-libXau-dev xorg-libXdmcp-dev \ 1.16 xorg-libXrender-dev xcb-util-dev libxcb-dev expat-dev libxml2-dev" 1.17 -TARBALL="$PACKAGE-$VERSION.tar.xz" 1.18 -WEB_SITE="http://www.cairographics.org/" 1.19 -WGET_URL="http://cairographics.org/releases/$TARBALL" 1.20 + 1.21 +# Handle cross compilation 1.22 +case "$ARCH" in 1.23 + arm*) export CFLAGS="$CFLAGS -L/cross/$ARCH/sysroot/usr/lib" ;; 1.24 +esac 1.25 1.26 # Rules to configure and make the package. 1.27 compile_rules()