wok view cairo-gl/receipt @ rev 23966

updated dpkg (1.16.12 -> 1.17.27) see bug report 248
author Hans-G?nter Theisgen
date Sun Oct 04 06:59:31 2020 +0100 (2020-10-04)
parents 378b0ba41272
children afae00265386
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="expat-dev fontconfig-dev freetype-dev glib-dev libdrm-dev
20 libegl-mesa libpng-dev libxcb-dev libxml2-dev mesa-dev pixman-dev
21 pkg-config udev-dev xcb-util-dev xorg-libX11-dev xorg-libXau-dev
22 xorg-libXdmcp-dev xorg-libXrender-dev xorg-libXxf86vm-dev zlib-dev"
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' \
30 doc/public/Makefile*
32 ./configure \
33 --prefix=/usr \
34 --enable-xcb \
35 --enable-tee \
36 --enable-gl \
37 --disable-static \
38 $CONFIGURE_ARGS &&
39 make $MAKEFLAGS &&
40 make DESTDIR=$DESTDIR install
41 }
43 # Rules to gen a SliTaz package suitable for Tazpkg.
44 genpkg_rules()
45 {
46 mkdir -p $fs/usr/lib
47 cp -a $install/usr/lib/*.so* $fs/usr/lib
48 }