wok-next view cairo/receipt @ rev 19990
lighttpd: add missing SPLIT
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Oct 20 08:05:51 2017 +0200 (2017-10-20) |
parents | b34e3540f205 |
children | 0e7893ac206d |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="cairo"
4 VERSION="1.14.8"
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/"
10 HOST_ARCH="i486 arm"
12 TARBALL="$PACKAGE-$VERSION.tar.xz"
13 WGET_URL="${WEB_SITE}releases/$TARBALL"
15 BUILD_DEPENDS="pkg-config glib-dev libpng16-dev zlib-dev fontconfig-dev \
16 freetype-dev xorg-libX11-dev xorg-libXext-dev pixman-dev xorg-libXau-dev \
17 xorg-libXdmcp-dev xorg-libXrender-dev xcb-util-dev libxcb-dev expat-dev \
18 libxml2-dev"
19 SPLIT="cairo-tools cairo-dev"
20 SIBLINGS="cairo-gl"
22 # Handle cross compilation
23 case "$ARCH" in
24 arm*) export CFLAGS="$CFLAGS -L/cross/$ARCH/sysroot/usr/lib" ;;
25 esac
27 # Rules to configure and make the package.
28 compile_rules()
29 {
30 ./configure \
31 --enable-xcb \
32 --enable-xlib-xcb \
33 --enable-tee \
34 --disable-static \
35 $CONFIGURE_ARGS &&
36 make $MAKEFLAGS &&
37 make DESTDIR=$DESTDIR install
38 }
40 # Rules to gen a SliTaz package suitable for Tazpkg.
41 genpkg_rules()
42 {
43 case $PACKAGE in
44 cairo)
45 copy libcairo.so* libcairo-gobject.so* libcairo-script-interpreter.so*
46 DEPENDS="bzlib fontconfig freetype glib glibc-base harfbuzz libffi \
47 libpng16 libxcb libxml2 pcre pixman xorg-libX11 xorg-libXau \
48 xorg-libXdmcp xorg-libXext xorg-libXrender zlib"
49 ;;
50 cairo-tools)
51 copy bin/ cairo-fdr.so* cairo-sphinx.so* libcairo-trace.so*
52 CAT="development|development tools"
53 DEPENDS="cairo libbfd"
54 ;;
55 cairo-dev)
56 copy @dev
57 DEPENDS="cairo cairo-tools bzip2 fontconfig-dev freetype-dev \
58 glib-dev harfbuzz-dev libffi-dev libpng16-dev libxcb-dev \
59 libxml2-dev pcre-dev pixman-dev xorg-libX11-dev xorg-libXau-dev \
60 xorg-libXdmcp-dev xorg-libXext-dev xorg-libXrender-dev"
61 ;;
62 esac
63 }