wok-next annotate 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
rev   line source
al@19737 1 # SliTaz package receipt v2.
pankso@22 2
pankso@22 3 PACKAGE="cairo"
al@21071 4 VERSION="1.16.0"
pankso@22 5 CATEGORY="x-window"
al@19250 6 SHORT_DESC="2D graphics library"
al@21020 7 MAINTAINER="devel@slitaz.org"
pascal@15022 8 LICENSE="MPL LGPL2.1"
al@19250 9 WEB_SITE="https://www.cairographics.org/"
al@21017 10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/x/cairo.html"
pankso@16083 11
al@19737 12 TARBALL="$PACKAGE-$VERSION.tar.xz"
al@19737 13 WGET_URL="${WEB_SITE}releases/$TARBALL"
al@19737 14
al@20640 15 BUILD_DEPENDS="zlib-dev xorg-libX11-dev xorg-libXext-dev xorg-libICE-dev \
al@20640 16 xorg-libXrender-dev xorg-libxcb-dev libpng16-dev freetype-dev fontconfig-dev \
al@21017 17 libspectre-dev poppler-dev librsvg-dev gtk2-dev xorg-pixman-dev"
al@21020 18 SPLIT="$PACKAGE-tools $PACKAGE-dev"
pankso@16083 19
al@20542 20 COOKOPTS="skip-log-errors"
pankso@22 21
al@21071 22 COPY_std="libcairo.so* libcairo-gobject.so* libcairo-script-interpreter.so*"
al@21071 23 COPY_tools="bin/ cairo-fdr.so* cairo-sphinx.so* libcairo-trace.so*"
al@21071 24
al@21071 25 CAT_tools="development|development tools"
al@21071 26
al@21071 27 DEPENDS_std="fontconfig freetype glib libpng16 xorg-libX11 xorg-libxcb \
al@21071 28 xorg-pixman zlib"
al@21071 29 DEPENDS_tools="cairo glib xorg-libX11 xorg-libXrender xorg-libxcb xorg-pixman \
al@21071 30 zlib"
al@21071 31 DEPENDS_dev="cairo cairo-tools \
al@21071 32 fontconfig-dev freetype-dev glib-dev libpng16-dev xorg-libX11-dev \
al@21071 33 xorg-libXext-dev xorg-libXrender-dev xorg-libxcb-dev xorg-pixman-dev zlib-dev"
al@21071 34
al@20443 35 compile_rules() {
pankso@1999 36 ./configure \
pankso@5336 37 --enable-xcb \
al@19250 38 --enable-xlib-xcb \
slaxemulator@9383 39 --enable-tee \
slaxemulator@6628 40 --disable-static \
al@21071 41 --disable-gl \
al@20542 42 $CONFIGURE_ARGS &&
al@20443 43 fix libtool &&
slaxemulator@13171 44 make $MAKEFLAGS &&
al@21020 45 make DESTDIR=$install install
pankso@22 46 }