wok-next view cairo/receipt @ rev 21108

Small updates.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Jan 07 11:27:51 2019 +0200 (2019-01-07)
parents 5669e8b3be70
children 1bccb307f229
line source
1 # SliTaz package receipt v2.
3 PACKAGE="cairo"
4 VERSION="1.16.0"
5 CATEGORY="x-window"
6 SHORT_DESC="2D graphics library"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="MPL LGPL2.1"
9 WEB_SITE="https://www.cairographics.org/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/x/cairo.html"
12 TARBALL="$PACKAGE-$VERSION.tar.xz"
13 WGET_URL="${WEB_SITE}releases/$TARBALL"
14 TARBALL_SHA1="00e81842ae5e81bb0343108884eb5205be0eac14"
16 BUILD_DEPENDS="zlib-dev libx11-dev libxext-dev libice-dev libxrender-dev \
17 libxcb-dev libpng-dev freetype-dev fontconfig-dev libspectre-dev poppler-dev \
18 librsvg-dev gtk2-dev pixman-dev"
19 SPLIT="lib$PACKAGE $PACKAGE $PACKAGE-dev"
21 COPY_libcairo="libcairo.so* libcairo-gobject.so* libcairo-script-interpreter.so*"
23 CAT_std="development|development tools"
25 COOKOPTS="skip-log-errors"
27 DEPENDS_libcairo="fontconfig freetype glib libpng libx11 libxcb pixman zlib"
28 DEPENDS_std="lib$PACKAGE glib libbfd libx11 libxcb libxrender pixman zlib"
29 DEPENDS_dev="lib$PACKAGE $PACKAGE fontconfig-dev freetype-dev glib-dev \
30 libpng-dev libx11-dev libxcb-dev libxext-dev libxrender-dev pixman-dev zlib-dev"
32 compile_rules() {
33 ./configure \
34 --enable-xcb \
35 --enable-xlib-xcb \
36 --enable-tee \
37 --disable-static \
38 --disable-gl \
39 $CONFIGURE_ARGS &&
40 fix libtool &&
41 make $MAKEFLAGS &&
42 make DESTDIR=$install install
43 }