wok view cairo/receipt @ rev 20761

updated cairo again
author Hans-G?nter Theisgen
date Tue Feb 12 17:49:17 2019 +0100 (2019-02-12)
parents 46416cd47a1f
children 378b0ba41272
line source
1 # SliTaz package receipt.
3 PACKAGE="cairo"
4 VERSION="1.16.0"
5 CATEGORY="x-window"
6 SHORT_DESC="2D graphics library"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="MPL LGPL2.1"
9 WEB_SITE="https://www.cairographics.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="${WEB_SITE}releases/$TARBALL"
14 DEPENDS="bzlib fontconfig freetype glib glibc-base harfbuzz libffi libpng \
15 libxcb libxml2 pcre pixman xorg-libX11 xorg-libXau xorg-libXdmcp xorg-libXext \
16 xorg-libXrender zlib"
17 BUILD_DEPENDS="pkg-config glib-dev libpng-dev zlib-dev fontconfig-dev \
18 freetype-dev xorg-libX11-dev pixman-dev xorg-libXau-dev xorg-libXdmcp-dev \
19 xorg-libXrender-dev xcb-util-dev libxcb-dev expat-dev libxml2-dev"
20 SPLIT="cairo-tools"
21 SIBLINGS="cairo-gl"
22 HOST_ARCH="i486 arm"
24 # Handle cross compilation
25 case "$ARCH" in
26 arm*) export CFLAGS="$CFLAGS -L/cross/$ARCH/sysroot/usr/lib" ;;
27 esac
29 # Rules to configure and make the package.
30 compile_rules()
31 {
32 ./configure \
33 --prefix=/usr \
34 --enable-xcb \
35 --enable-xlib-xcb \
36 --enable-tee \
37 --disable-gl \
38 --disable-static \
39 $CONFIGURE_ARGS &&
40 make $MAKEFLAGS &&
41 make DESTDIR=$DESTDIR install
42 }
44 # Rules to gen a SliTaz package suitable for Tazpkg.
45 genpkg_rules()
46 {
47 mkdir -p $fs/usr/lib
48 cp -a $install/usr/lib/*.so* $fs/usr/lib
49 }