wok-next view cairo-gl/receipt @ rev 20143

postgresql: receipt v2
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Nov 01 11:18:25 2017 +0100 (2017-11-01)
parents 7aee71cc8a7e
children 384441c3ddea
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 libpng16 libxcb libxml2 mesa libegl-mesa pcre pixman eudev 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 libpng16-dev zlib-dev fontconfig-dev \
19 freetype-dev xorg-libX11-dev xorg-pixman-dev xorg-libXau-dev xorg-libXdmcp-dev \
20 xorg-libXrender-dev xorg-xcb-util-dev xorg-libxcb-dev expat-dev libxml2-dev \
21 mesa-dev eudev-dev xorg-libXxf86vm-dev libdrm-dev libegl-mesa \
22 xorg-libxshmfence-dev"
23 SPLIT="cairo-gl-tools"
24 SIBLINGS="cairo"
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 ./configure \
30 --prefix=/usr \
31 --enable-xcb \
32 --enable-tee \
33 --enable-gl \
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 mkdir -p $fs/usr/lib
44 cp -a $install/usr/lib/*.so* $fs/usr/lib
45 }