wok annotate cairo/receipt @ rev 24486

updated djvulibre and djvulibre-dev (3.5.27 -> 3.5.28)
author Hans-G?nter Theisgen
date Fri Feb 18 16:54:18 2022 +0100 (2022-02-18)
parents 54ab3852dc4f
children 252903ff3899
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 \
mojo@23847 19 xorg-libXrender-dev xcb-util-dev libxcb-dev expat-dev libxml2-dev util-linux-uuid-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
pascal@24066 29 current_version()
pascal@24066 30 {
pascal@24066 31 wget -O - https://www.cairographics.org/releases/ 2>/dev/null | \
pascal@24066 32 sed '/cairo-/!d;s|.*cairo-||;s|.tar.*||' | sed '$!d'
pascal@24066 33 }
pascal@24066 34
pankso@22 35 # Rules to configure and make the package.
pankso@22 36 compile_rules()
pankso@22 37 {
pascal@20762 38 sed -i '/index.sgml/d' doc/public/Makefile*
pankso@1999 39 ./configure \
pankso@1999 40 --prefix=/usr \
pankso@5336 41 --enable-xcb \
al@19250 42 --enable-xlib-xcb \
slaxemulator@9383 43 --enable-tee \
Hans-G?nter@20761 44 --disable-gl \
slaxemulator@6628 45 --disable-static \
al@19250 46 $CONFIGURE_ARGS &&
slaxemulator@13171 47 make $MAKEFLAGS &&
slaxemulator@13171 48 make DESTDIR=$DESTDIR install
pankso@22 49 }
pankso@22 50
pankso@22 51 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@22 52 genpkg_rules()
pankso@22 53 {
al@19250 54 mkdir -p $fs/usr/lib
pankso@12549 55 cp -a $install/usr/lib/*.so* $fs/usr/lib
pankso@22 56 }