wok-current annotate cairo-gl/receipt @ rev 19268
restore docs/busybox.1
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Jul 04 10:47:24 2016 +0200 (2016-07-04) |
parents | 03b2309fd335 |
children | 7aee71cc8a7e |
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@16584 | 13 #HOST_ARCH="arm i486" |
pankso@16204 | 14 |
al@19250 | 15 DEPENDS="bzlib fontconfig freetype glib glibc-base harfbuzz libdrm libffi \ |
al@19250 | 16 libpng libxcb libxml2 mesa mesa-wayland 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 \ |
pascal@16208 | 22 mesa-wayland-dev wayland-dev udev-dev xorg-libXxf86vm-dev libdrm-dev" |
al@19250 | 23 SPLIT="cairo-gl-tools" |
al@19250 | 24 SIBLINGS="cairo" |
pankso@16204 | 25 |
pankso@16204 | 26 # Handle cross compilation |
pankso@16204 | 27 case "$ARCH" in |
pankso@16204 | 28 arm*) export CFLAGS="$CFLAGS -L/cross/$ARCH/sysroot/usr/lib" ;; |
pankso@16204 | 29 esac |
pankso@16204 | 30 |
pankso@16204 | 31 # Rules to configure and make the package. |
pankso@16204 | 32 compile_rules() |
pankso@16204 | 33 { |
pankso@16204 | 34 ./configure \ |
pankso@16204 | 35 --prefix=/usr \ |
pankso@16204 | 36 --enable-xcb \ |
al@19250 | 37 --enable-xlib-xcb \ |
pankso@16204 | 38 --enable-tee \ |
pankso@16204 | 39 --enable-gl \ |
pankso@16204 | 40 --disable-static \ |
al@19250 | 41 $CONFIGURE_ARGS && |
pankso@16204 | 42 make $MAKEFLAGS && |
pankso@16204 | 43 make DESTDIR=$DESTDIR install |
pankso@16204 | 44 } |
pankso@16204 | 45 |
pankso@16204 | 46 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@16204 | 47 genpkg_rules() |
pankso@16204 | 48 { |
pankso@16204 | 49 mkdir -p $fs/usr/lib |
pankso@16204 | 50 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pankso@16204 | 51 } |