wok view cairo-gl/receipt @ rev 20805

syslinux/iso2exe: add a MessageBox for Win9x (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Feb 16 19:05:06 2019 +0100 (2019-02-16)
parents 46416cd47a1f
children 2c5c15f050b7
line source
1 # SliTaz package receipt.
3 PACKAGE="cairo-gl"
4 VERSION="1.16.0"
5 CATEGORY="x-window"
6 SHORT_DESC="2D graphics library with GL support"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="MPL LGPL2.1"
9 WEB_SITE="https://www.cairographics.org/"
11 SOURCE="cairo"
12 TARBALL="$SOURCE-$VERSION.tar.xz"
13 WGET_URL="${WEB_SITE}releases/$TARBALL"
15 DEPENDS="bzlib fontconfig freetype glib glibc-base harfbuzz libdrm libffi \
16 libpng libxcb libxml2 mesa libegl-mesa 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-dev udev-dev xorg-libXxf86vm-dev libdrm-dev libegl-mesa"
23 SPLIT="cairo-gl-tools"
24 SIBLINGS="cairo"
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 sed -i '/index.sgml/d' doc/public/Makefile*
30 ./configure \
31 --prefix=/usr \
32 --enable-xcb \
33 --enable-tee \
34 --enable-gl \
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
45 cp -a $install/usr/lib/*.so* $fs/usr/lib
46 }