wok annotate cairo-gl/receipt @ rev 24330

updated atftp and atftpd (0.7.2 -> 0.7.5)
author Hans-G?nter Theisgen
date Thu Jan 27 15:48:06 2022 +0100 (2022-01-27)
parents 378b0ba41272
children afae00265386
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"
Hans-G?nter@23263 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
Hans-G?nter@23263 15 DEPENDS="bzlib fontconfig freetype glib glibc-base harfbuzz libdrm libffi
Hans-G?nter@23263 16 libpng libxcb libxml2 mesa libegl-mesa pcre pixman udev xorg-libX11
Hans-G?nter@23263 17 xorg-libXau xorg-libXdamage xorg-libXdmcp xorg-libXext xorg-libXfixes
Hans-G?nter@23263 18 xorg-libXrender xorg-libXxf86vm zlib"
Hans-G?nter@23263 19 BUILD_DEPENDS="expat-dev fontconfig-dev freetype-dev glib-dev libdrm-dev
Hans-G?nter@23263 20 libegl-mesa libpng-dev libxcb-dev libxml2-dev mesa-dev pixman-dev
Hans-G?nter@23263 21 pkg-config udev-dev xcb-util-dev xorg-libX11-dev xorg-libXau-dev
Hans-G?nter@23263 22 xorg-libXdmcp-dev xorg-libXrender-dev xorg-libXxf86vm-dev zlib-dev"
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 {
Hans-G?nter@23263 29 sed -i '/index.sgml/d' \
Hans-G?nter@23263 30 doc/public/Makefile*
Hans-G?nter@23263 31
Hans-G?nter@23263 32 ./configure \
Hans-G?nter@23263 33 --prefix=/usr \
Hans-G?nter@23263 34 --enable-xcb \
Hans-G?nter@23263 35 --enable-tee \
Hans-G?nter@23263 36 --enable-gl \
Hans-G?nter@23263 37 --disable-static \
al@19250 38 $CONFIGURE_ARGS &&
pankso@16204 39 make $MAKEFLAGS &&
pankso@16204 40 make DESTDIR=$DESTDIR install
pankso@16204 41 }
pankso@16204 42
pankso@16204 43 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@16204 44 genpkg_rules()
pankso@16204 45 {
pankso@16204 46 mkdir -p $fs/usr/lib
Hans-G?nter@23263 47 cp -a $install/usr/lib/*.so* $fs/usr/lib
pankso@16204 48 }