wok annotate cairo-gl/receipt @ rev 20398
Up miniupnpc (2.1)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jun 27 12:45:10 2018 +0200 (2018-06-27) |
parents | b34e3540f205 |
children | 46416cd47a1f |
rev | line source |
---|---|
pankso@16204 | 1 # SliTaz package receipt. |
pankso@16204 | 2 |
pankso@16204 | 3 PACKAGE="cairo-gl" |
psychomaniak@18544 | 4 VERSION="1.14.4" |
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" |
pankso@16204 | 9 SOURCE="cairo" |
pankso@16204 | 10 TARBALL="$SOURCE-$VERSION.tar.xz" |
al@19250 | 11 WEB_SITE="https://www.cairographics.org/" |
al@19250 | 12 WGET_URL="${WEB_SITE}releases/$TARBALL" |
pankso@16204 | 13 |
al@19250 | 14 DEPENDS="bzlib fontconfig freetype glib glibc-base harfbuzz libdrm libffi \ |
psychomaniak@19469 | 15 libpng libxcb libxml2 mesa libegl-mesa pcre pixman udev xorg-libX11 \ |
al@19250 | 16 xorg-libXau xorg-libXdamage xorg-libXdmcp xorg-libXext xorg-libXfixes \ |
al@19250 | 17 xorg-libXrender xorg-libXxf86vm zlib" |
pankso@16204 | 18 BUILD_DEPENDS="pkg-config glib-dev libpng-dev zlib-dev fontconfig-dev \ |
pankso@16204 | 19 freetype-dev xorg-libX11-dev pixman-dev xorg-libXau-dev xorg-libXdmcp-dev \ |
pankso@16204 | 20 xorg-libXrender-dev xcb-util-dev libxcb-dev expat-dev libxml2-dev \ |
psychomaniak@19469 | 21 mesa-dev udev-dev xorg-libXxf86vm-dev libdrm-dev libegl-mesa" |
al@19250 | 22 SPLIT="cairo-gl-tools" |
al@19250 | 23 SIBLINGS="cairo" |
pankso@16204 | 24 |
pankso@16204 | 25 # Rules to configure and make the package. |
pankso@16204 | 26 compile_rules() |
pankso@16204 | 27 { |
pankso@16204 | 28 ./configure \ |
pankso@16204 | 29 --prefix=/usr \ |
pankso@16204 | 30 --enable-xcb \ |
pankso@16204 | 31 --enable-tee \ |
pankso@16204 | 32 --enable-gl \ |
pankso@16204 | 33 --disable-static \ |
al@19250 | 34 $CONFIGURE_ARGS && |
pankso@16204 | 35 make $MAKEFLAGS && |
pankso@16204 | 36 make DESTDIR=$DESTDIR install |
pankso@16204 | 37 } |
pankso@16204 | 38 |
pankso@16204 | 39 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@16204 | 40 genpkg_rules() |
pankso@16204 | 41 { |
pankso@16204 | 42 mkdir -p $fs/usr/lib |
pankso@16204 | 43 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pankso@16204 | 44 } |