wok-6.x view cairo/receipt @ rev 19832
Up apulse (0.1.8+ae3ea44)
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Fri Mar 10 20:46:32 2017 +0100 (2017-03-10) |
parents | 188a05620c45 |
children | 46416cd47a1f |
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="https://www.cairographics.org/"
11 WGET_URL="${WEB_SITE}releases/$TARBALL"
12 HOST_ARCH="i486 arm"
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"
23 # Handle cross compilation
24 case "$ARCH" in
25 arm*) export CFLAGS="$CFLAGS -L/cross/$ARCH/sysroot/usr/lib" ;;
26 esac
28 # Rules to configure and make the package.
29 compile_rules()
30 {
31 ./configure \
32 --prefix=/usr \
33 --enable-xcb \
34 --enable-xlib-xcb \
35 --enable-tee \
36 --disable-static \
37 $CONFIGURE_ARGS &&
38 make $MAKEFLAGS &&
39 make DESTDIR=$DESTDIR install
40 }
42 # Rules to gen a SliTaz package suitable for Tazpkg.
43 genpkg_rules()
44 {
45 mkdir -p $fs/usr/lib
46 cp -a $install/usr/lib/*.so* $fs/usr/lib
47 }