wok view cairo-gl/receipt @ rev 19360

Up tazpkg (916)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Aug 01 16:27:13 2016 +0200 (2016-08-01)
parents 03b2309fd335
children 7aee71cc8a7e
line source
1 # SliTaz package receipt.
3 PACKAGE="cairo-gl"
4 VERSION="1.14.4"
5 CATEGORY="x-window"
6 SHORT_DESC="2D graphics library with GL support"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="MPL LGPL2.1"
9 SOURCE="cairo"
10 TARBALL="$SOURCE-$VERSION.tar.xz"
11 WEB_SITE="https://www.cairographics.org/"
12 WGET_URL="${WEB_SITE}releases/$TARBALL"
13 #HOST_ARCH="arm i486"
15 DEPENDS="bzlib fontconfig freetype glib glibc-base harfbuzz libdrm libffi \
16 libpng libxcb libxml2 mesa mesa-wayland pcre pixman udev xorg-libX11 \
17 xorg-libXau xorg-libXdamage xorg-libXdmcp xorg-libXext xorg-libXfixes \
18 xorg-libXrender xorg-libXxf86vm zlib"
19 BUILD_DEPENDS="pkg-config glib-dev libpng-dev zlib-dev fontconfig-dev \
20 freetype-dev xorg-libX11-dev pixman-dev xorg-libXau-dev xorg-libXdmcp-dev \
21 xorg-libXrender-dev xcb-util-dev libxcb-dev expat-dev libxml2-dev \
22 mesa-wayland-dev wayland-dev udev-dev xorg-libXxf86vm-dev libdrm-dev"
23 SPLIT="cairo-gl-tools"
24 SIBLINGS="cairo"
26 # Handle cross compilation
27 case "$ARCH" in
28 arm*) export CFLAGS="$CFLAGS -L/cross/$ARCH/sysroot/usr/lib" ;;
29 esac
31 # Rules to configure and make the package.
32 compile_rules()
33 {
34 ./configure \
35 --prefix=/usr \
36 --enable-xcb \
37 --enable-xlib-xcb \
38 --enable-tee \
39 --enable-gl \
40 --disable-static \
41 $CONFIGURE_ARGS &&
42 make $MAKEFLAGS &&
43 make DESTDIR=$DESTDIR install
44 }
46 # Rules to gen a SliTaz package suitable for Tazpkg.
47 genpkg_rules()
48 {
49 mkdir -p $fs/usr/lib
50 cp -a $install/usr/lib/*.so* $fs/usr/lib
51 }