wok view cairo/receipt @ rev 20760

updated cairo packages (1.14.4 -> 1.16.0)
author Hans-G?nter Theisgen
date Tue Feb 12 17:35:34 2019 +0100 (8 months ago)
parents b34e3540f205
children 9501f694872e
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-static \
38 $CONFIGURE_ARGS &&
39 make $MAKEFLAGS &&
40 make DESTDIR=$DESTDIR install
41 }
43 # Rules to gen a SliTaz package suitable for Tazpkg.
44 genpkg_rules()
45 {
46 mkdir -p $fs/usr/lib
47 cp -a $install/usr/lib/*.so* $fs/usr/lib
48 }