wok view cairo/receipt @ rev 17877
ncurses-common: restore file names, fixes alsamixer+vte F-keys, cairo:
tazweb-rendering-fix no more required for current version of cairo lib.
xlib-xcb known as buggy and disabled on most distros.
tazweb-rendering-fix no more required for current version of cairo lib.
xlib-xcb known as buggy and disabled on most distros.
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Sat Mar 28 14:23:43 2015 +0100 (2015-03-28) |
parents | 85cd2fbe5feb |
children | 21172827b7f1 |
line source
1 # SliTaz package receipt.
3 PACKAGE="cairo"
4 VERSION="1.14.0"
5 CATEGORY="x-window"
6 SHORT_DESC="2D graphics library."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="MPL LGPL2.1"
9 TARBALL="$PACKAGE-$VERSION.tar.xz"
10 WEB_SITE="http://www.cairographics.org/"
11 WGET_URL="http://cairographics.org/releases/$TARBALL"
12 HOST_ARCH="i486 arm"
14 DEPENDS="glib pixman libpng zlib expat fontconfig freetype xorg-libX11 \
15 xorg-libXau xorg-libXdmcp xorg-libXrender xcb-util libxcb"
16 BUILD_DEPENDS="pkg-config glib-dev libpng-dev zlib-dev fontconfig-dev \
17 freetype-dev xorg-libX11-dev pixman-dev xorg-libXau-dev xorg-libXdmcp-dev \
18 xorg-libXrender-dev xcb-util-dev libxcb-dev expat-dev libxml2-dev"
20 # Handle cross compilation
21 case "$ARCH" in
22 arm*) export CFLAGS="$CFLAGS -L/cross/$ARCH/sysroot/usr/lib" ;;
23 esac
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 cd $src
29 ./configure \
30 --prefix=/usr \
31 --mandir=/usr/share/man \
32 --with-html-dir=/usr/share/doc \
33 --enable-xcb \
34 --enable-tee \
35 --disable-static \
36 $CONFIGURE_ARGS &&
37 make $MAKEFLAGS &&
38 make DESTDIR=$DESTDIR install
39 }
41 # Rules to gen a SliTaz package suitable for Tazpkg.
42 genpkg_rules()
43 {
44 mkdir -p $fs/usr/lib/cairo
45 cp -a $install/usr/bin $fs/usr
46 cp -a $install/usr/lib/*.so* $fs/usr/lib
47 cp -a $install/usr/lib/cairo/*.so* $fs/usr/lib/cairo
48 }