wok annotate 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 (2019-02-12) |
parents | b34e3540f205 |
children | 9501f694872e |
rev | line source |
---|---|
pankso@22 | 1 # SliTaz package receipt. |
pankso@22 | 2 |
pankso@22 | 3 PACKAGE="cairo" |
Hans-G?nter@20760 | 4 VERSION="1.16.0" |
pankso@22 | 5 CATEGORY="x-window" |
al@19250 | 6 SHORT_DESC="2D graphics library" |
pankso@22 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15022 | 8 LICENSE="MPL LGPL2.1" |
Hans-G?nter@20760 | 9 WEB_SITE="https://www.cairographics.org/" |
Hans-G?nter@20760 | 10 |
pankso@16083 | 11 TARBALL="$PACKAGE-$VERSION.tar.xz" |
al@19250 | 12 WGET_URL="${WEB_SITE}releases/$TARBALL" |
pankso@16083 | 13 |
al@19250 | 14 DEPENDS="bzlib fontconfig freetype glib glibc-base harfbuzz libffi libpng \ |
al@19250 | 15 libxcb libxml2 pcre pixman xorg-libX11 xorg-libXau xorg-libXdmcp xorg-libXext \ |
al@19250 | 16 xorg-libXrender zlib" |
slaxemulator@13171 | 17 BUILD_DEPENDS="pkg-config glib-dev libpng-dev zlib-dev fontconfig-dev \ |
slaxemulator@13171 | 18 freetype-dev xorg-libX11-dev pixman-dev xorg-libXau-dev xorg-libXdmcp-dev \ |
pascal@15024 | 19 xorg-libXrender-dev xcb-util-dev libxcb-dev expat-dev libxml2-dev" |
al@19250 | 20 SPLIT="cairo-tools" |
al@19250 | 21 SIBLINGS="cairo-gl" |
Hans-G?nter@20760 | 22 HOST_ARCH="i486 arm" |
pankso@16083 | 23 |
pankso@16083 | 24 # Handle cross compilation |
pankso@16083 | 25 case "$ARCH" in |
pankso@16083 | 26 arm*) export CFLAGS="$CFLAGS -L/cross/$ARCH/sysroot/usr/lib" ;; |
pankso@16083 | 27 esac |
pankso@22 | 28 |
pankso@22 | 29 # Rules to configure and make the package. |
pankso@22 | 30 compile_rules() |
pankso@22 | 31 { |
pankso@1999 | 32 ./configure \ |
pankso@1999 | 33 --prefix=/usr \ |
pankso@5336 | 34 --enable-xcb \ |
al@19250 | 35 --enable-xlib-xcb \ |
slaxemulator@9383 | 36 --enable-tee \ |
slaxemulator@6628 | 37 --disable-static \ |
al@19250 | 38 $CONFIGURE_ARGS && |
slaxemulator@13171 | 39 make $MAKEFLAGS && |
slaxemulator@13171 | 40 make DESTDIR=$DESTDIR install |
pankso@22 | 41 } |
pankso@22 | 42 |
pankso@22 | 43 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@22 | 44 genpkg_rules() |
pankso@22 | 45 { |
al@19250 | 46 mkdir -p $fs/usr/lib |
pankso@12549 | 47 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pankso@22 | 48 } |