wok-next view cairo/receipt @ rev 21174

shaarli: fix tarball
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Apr 14 16:02:11 2019 +0200 (2019-04-14)
parents 82b613cfd1e0
children
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_libcairo="x-window|shared libraries"
24 CAT_std="development|development tools"
26 COOKOPTS="skip-log-errors"
28 DEPENDS_libcairo="fontconfig freetype glib libpng libx11 libxcb pixman zlib"
29 DEPENDS_std="lib$PACKAGE glib libbfd libx11 libxcb libxrender pixman zlib"
30 DEPENDS_dev="lib$PACKAGE $PACKAGE fontconfig-dev freetype-dev glib-dev \
31 libpng-dev libx11-dev libxcb-dev libxext-dev libxrender-dev pixman-dev zlib-dev"
33 compile_rules() {
34 ./configure \
35 --enable-xcb \
36 --enable-xlib-xcb \
37 --enable-tee \
38 --disable-static \
39 --disable-gl \
40 $CONFIGURE_ARGS &&
41 fix libtool &&
42 make $MAKEFLAGS &&
43 make DESTDIR=$install install
44 }