wok-next view cairo/receipt @ rev 21071
Update atkmm, cairo, cmake, db, elfutils, emacs, glib, glib-networking, glibmm, gobject-introspection, libsigc++, meson, openssl, zstd
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Dec 13 00:46:54 2018 +0200 (2018-12-13) |
parents | d5aab818505e |
children | 5669e8b3be70 |
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"
15 BUILD_DEPENDS="zlib-dev xorg-libX11-dev xorg-libXext-dev xorg-libICE-dev \
16 xorg-libXrender-dev xorg-libxcb-dev libpng16-dev freetype-dev fontconfig-dev \
17 libspectre-dev poppler-dev librsvg-dev gtk2-dev xorg-pixman-dev"
18 SPLIT="$PACKAGE-tools $PACKAGE-dev"
20 COOKOPTS="skip-log-errors"
22 COPY_std="libcairo.so* libcairo-gobject.so* libcairo-script-interpreter.so*"
23 COPY_tools="bin/ cairo-fdr.so* cairo-sphinx.so* libcairo-trace.so*"
25 CAT_tools="development|development tools"
27 DEPENDS_std="fontconfig freetype glib libpng16 xorg-libX11 xorg-libxcb \
28 xorg-pixman zlib"
29 DEPENDS_tools="cairo glib xorg-libX11 xorg-libXrender xorg-libxcb xorg-pixman \
30 zlib"
31 DEPENDS_dev="cairo cairo-tools \
32 fontconfig-dev freetype-dev glib-dev libpng16-dev xorg-libX11-dev \
33 xorg-libXext-dev xorg-libXrender-dev xorg-libxcb-dev xorg-pixman-dev zlib-dev"
35 compile_rules() {
36 ./configure \
37 --enable-xcb \
38 --enable-xlib-xcb \
39 --enable-tee \
40 --disable-static \
41 --disable-gl \
42 $CONFIGURE_ARGS &&
43 fix libtool &&
44 make $MAKEFLAGS &&
45 make DESTDIR=$install install
46 }