wok-current annotate cairo-gl/receipt @ rev 21931

updated sord-dev (0.8.0 -> 0.16.2)
author Hans-G?nter Theisgen
date Sun Oct 06 15:31:03 2019 +0100 (2019-10-06)
parents 46416cd47a1f
children 2c5c15f050b7
rev   line source
pankso@16204 1 # SliTaz package receipt.
pankso@16204 2
pankso@16204 3 PACKAGE="cairo-gl"
Hans-G?nter@20760 4 VERSION="1.16.0"
pankso@16204 5 CATEGORY="x-window"
al@19250 6 SHORT_DESC="2D graphics library with GL support"
pankso@16204 7 MAINTAINER="pankso@slitaz.org"
pankso@16204 8 LICENSE="MPL LGPL2.1"
Hans-G?nter@20760 9 WEB_SITE="https://www.cairographics.org/"
Hans-G?nter@20760 10
pankso@16204 11 SOURCE="cairo"
pankso@16204 12 TARBALL="$SOURCE-$VERSION.tar.xz"
al@19250 13 WGET_URL="${WEB_SITE}releases/$TARBALL"
pankso@16204 14
al@19250 15 DEPENDS="bzlib fontconfig freetype glib glibc-base harfbuzz libdrm libffi \
psychomaniak@19469 16 libpng libxcb libxml2 mesa libegl-mesa pcre pixman udev xorg-libX11 \
al@19250 17 xorg-libXau xorg-libXdamage xorg-libXdmcp xorg-libXext xorg-libXfixes \
al@19250 18 xorg-libXrender xorg-libXxf86vm zlib"
pankso@16204 19 BUILD_DEPENDS="pkg-config glib-dev libpng-dev zlib-dev fontconfig-dev \
pankso@16204 20 freetype-dev xorg-libX11-dev pixman-dev xorg-libXau-dev xorg-libXdmcp-dev \
pankso@16204 21 xorg-libXrender-dev xcb-util-dev libxcb-dev expat-dev libxml2-dev \
psychomaniak@19469 22 mesa-dev udev-dev xorg-libXxf86vm-dev libdrm-dev libegl-mesa"
al@19250 23 SPLIT="cairo-gl-tools"
al@19250 24 SIBLINGS="cairo"
pankso@16204 25
pankso@16204 26 # Rules to configure and make the package.
pankso@16204 27 compile_rules()
pankso@16204 28 {
pascal@20762 29 sed -i '/index.sgml/d' doc/public/Makefile*
pankso@16204 30 ./configure \
pankso@16204 31 --prefix=/usr \
pankso@16204 32 --enable-xcb \
pankso@16204 33 --enable-tee \
pankso@16204 34 --enable-gl \
pankso@16204 35 --disable-static \
al@19250 36 $CONFIGURE_ARGS &&
pankso@16204 37 make $MAKEFLAGS &&
pankso@16204 38 make DESTDIR=$DESTDIR install
pankso@16204 39 }
pankso@16204 40
pankso@16204 41 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@16204 42 genpkg_rules()
pankso@16204 43 {
pankso@16204 44 mkdir -p $fs/usr/lib
pankso@16204 45 cp -a $install/usr/lib/*.so* $fs/usr/lib
pankso@16204 46 }