wok view cairo/receipt @ rev 21734
updated pwgen (2.06 -> 2.08)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Jun 13 13:39:28 2019 +0100 (2019-06-13) |
parents | 9501f694872e |
children | 54ab3852dc4f |
line source
1 # SliTaz package receipt.
3 PACKAGE="cairo"
4 VERSION="1.16.0"
5 CATEGORY="x-window"
6 SHORT_DESC="2D graphics library"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="MPL LGPL2.1"
9 WEB_SITE="https://www.cairographics.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="${WEB_SITE}releases/$TARBALL"
14 DEPENDS="bzlib fontconfig freetype glib glibc-base harfbuzz libffi libpng \
15 libxcb libxml2 pcre pixman xorg-libX11 xorg-libXau xorg-libXdmcp xorg-libXext \
16 xorg-libXrender zlib"
17 BUILD_DEPENDS="pkg-config glib-dev libpng-dev zlib-dev fontconfig-dev \
18 freetype-dev xorg-libX11-dev pixman-dev xorg-libXau-dev xorg-libXdmcp-dev \
19 xorg-libXrender-dev xcb-util-dev libxcb-dev expat-dev libxml2-dev"
20 SPLIT="cairo-tools"
21 SIBLINGS="cairo-gl"
22 HOST_ARCH="i486 arm"
24 # Handle cross compilation
25 case "$ARCH" in
26 arm*) export CFLAGS="$CFLAGS -L/cross/$ARCH/sysroot/usr/lib" ;;
27 esac
29 # Rules to configure and make the package.
30 compile_rules()
31 {
32 sed -i '/index.sgml/d' doc/public/Makefile*
33 ./configure \
34 --prefix=/usr \
35 --enable-xcb \
36 --enable-xlib-xcb \
37 --enable-tee \
38 --disable-gl \
39 --disable-static \
40 $CONFIGURE_ARGS &&
41 make $MAKEFLAGS &&
42 make DESTDIR=$DESTDIR install
43 }
45 # Rules to gen a SliTaz package suitable for Tazpkg.
46 genpkg_rules()
47 {
48 mkdir -p $fs/usr/lib
49 cp -a $install/usr/lib/*.so* $fs/usr/lib
50 }