wok-6.x annotate cairo/receipt @ rev 21896
updated seamonkey (2.46 -> 2.49.5)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Oct 03 17:09:38 2019 +0100 (2019-10-03) |
parents | 9501f694872e |
children | 54ab3852dc4f |
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 { |
pascal@20762 | 32 sed -i '/index.sgml/d' doc/public/Makefile* |
pankso@1999 | 33 ./configure \ |
pankso@1999 | 34 --prefix=/usr \ |
pankso@5336 | 35 --enable-xcb \ |
al@19250 | 36 --enable-xlib-xcb \ |
slaxemulator@9383 | 37 --enable-tee \ |
Hans-G?nter@20761 | 38 --disable-gl \ |
slaxemulator@6628 | 39 --disable-static \ |
al@19250 | 40 $CONFIGURE_ARGS && |
slaxemulator@13171 | 41 make $MAKEFLAGS && |
slaxemulator@13171 | 42 make DESTDIR=$DESTDIR install |
pankso@22 | 43 } |
pankso@22 | 44 |
pankso@22 | 45 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@22 | 46 genpkg_rules() |
pankso@22 | 47 { |
al@19250 | 48 mkdir -p $fs/usr/lib |
pankso@12549 | 49 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pankso@22 | 50 } |