wok view cairo/receipt @ rev 19024
syslinux/win32.c: typo
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Apr 02 17:08:51 2016 +0200 (2016-04-02) |
parents | 21172827b7f1 |
children | b34e3540f205 |
line source
1 # SliTaz package receipt.
3 PACKAGE="cairo"
4 VERSION="1.14.4"
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 }