wok view cairo-gl/receipt @ rev 20668
Up pjsip (2.8)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Jan 21 10:25:55 2019 +0100 (2019-01-21) |
parents | b34e3540f205 |
children | 46416cd47a1f |
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"
14 DEPENDS="bzlib fontconfig freetype glib glibc-base harfbuzz libdrm libffi \
15 libpng libxcb libxml2 mesa libegl-mesa pcre pixman udev xorg-libX11 \
16 xorg-libXau xorg-libXdamage xorg-libXdmcp xorg-libXext xorg-libXfixes \
17 xorg-libXrender xorg-libXxf86vm zlib"
18 BUILD_DEPENDS="pkg-config glib-dev libpng-dev zlib-dev fontconfig-dev \
19 freetype-dev xorg-libX11-dev pixman-dev xorg-libXau-dev xorg-libXdmcp-dev \
20 xorg-libXrender-dev xcb-util-dev libxcb-dev expat-dev libxml2-dev \
21 mesa-dev udev-dev xorg-libXxf86vm-dev libdrm-dev libegl-mesa"
22 SPLIT="cairo-gl-tools"
23 SIBLINGS="cairo"
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 ./configure \
29 --prefix=/usr \
30 --enable-xcb \
31 --enable-tee \
32 --enable-gl \
33 --disable-static \
34 $CONFIGURE_ARGS &&
35 make $MAKEFLAGS &&
36 make DESTDIR=$DESTDIR install
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 mkdir -p $fs/usr/lib
43 cp -a $install/usr/lib/*.so* $fs/usr/lib
44 }