wok annotate cairo/receipt @ rev 20458
Up amule (2.3.2)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Oct 10 10:43:41 2018 +0200 (2018-10-10) |
parents | 188a05620c45 |
children | 46416cd47a1f |
rev | line source |
---|---|
pankso@22 | 1 # SliTaz package receipt. |
pankso@22 | 2 |
pankso@22 | 3 PACKAGE="cairo" |
psychomaniak@18544 | 4 VERSION="1.14.4" |
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" |
pankso@16083 | 9 TARBALL="$PACKAGE-$VERSION.tar.xz" |
al@19250 | 10 WEB_SITE="https://www.cairographics.org/" |
al@19250 | 11 WGET_URL="${WEB_SITE}releases/$TARBALL" |
pankso@16083 | 12 HOST_ARCH="i486 arm" |
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" |
pankso@16083 | 22 |
pankso@16083 | 23 # Handle cross compilation |
pankso@16083 | 24 case "$ARCH" in |
pankso@16083 | 25 arm*) export CFLAGS="$CFLAGS -L/cross/$ARCH/sysroot/usr/lib" ;; |
pankso@16083 | 26 esac |
pankso@22 | 27 |
pankso@22 | 28 # Rules to configure and make the package. |
pankso@22 | 29 compile_rules() |
pankso@22 | 30 { |
pankso@1999 | 31 ./configure \ |
pankso@1999 | 32 --prefix=/usr \ |
pankso@5336 | 33 --enable-xcb \ |
al@19250 | 34 --enable-xlib-xcb \ |
slaxemulator@9383 | 35 --enable-tee \ |
slaxemulator@6628 | 36 --disable-static \ |
al@19250 | 37 $CONFIGURE_ARGS && |
slaxemulator@13171 | 38 make $MAKEFLAGS && |
slaxemulator@13171 | 39 make DESTDIR=$DESTDIR install |
pankso@22 | 40 } |
pankso@22 | 41 |
pankso@22 | 42 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@22 | 43 genpkg_rules() |
pankso@22 | 44 { |
al@19250 | 45 mkdir -p $fs/usr/lib |
pankso@12549 | 46 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pankso@22 | 47 } |