wok-next diff cairo/receipt @ rev 20259
xsave: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Nov 07 18:34:13 2017 +0100 (2017-11-07) |
parents | b34e3540f205 |
children | 0e7893ac206d |
line diff
1.1 --- a/cairo/receipt Wed Jun 29 15:02:04 2016 +0300 1.2 +++ b/cairo/receipt Tue Nov 07 18:34:13 2017 +0100 1.3 @@ -1,23 +1,22 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="cairo" 1.8 -VERSION="1.14.4" 1.9 +VERSION="1.14.8" 1.10 CATEGORY="x-window" 1.11 SHORT_DESC="2D graphics library" 1.12 MAINTAINER="pankso@slitaz.org" 1.13 LICENSE="MPL LGPL2.1" 1.14 -TARBALL="$PACKAGE-$VERSION.tar.xz" 1.15 WEB_SITE="https://www.cairographics.org/" 1.16 -WGET_URL="${WEB_SITE}releases/$TARBALL" 1.17 HOST_ARCH="i486 arm" 1.18 1.19 -DEPENDS="bzlib fontconfig freetype glib glibc-base harfbuzz libffi libpng \ 1.20 -libxcb libxml2 pcre pixman xorg-libX11 xorg-libXau xorg-libXdmcp xorg-libXext \ 1.21 -xorg-libXrender zlib" 1.22 -BUILD_DEPENDS="pkg-config glib-dev libpng-dev zlib-dev fontconfig-dev \ 1.23 -freetype-dev xorg-libX11-dev pixman-dev xorg-libXau-dev xorg-libXdmcp-dev \ 1.24 -xorg-libXrender-dev xcb-util-dev libxcb-dev expat-dev libxml2-dev" 1.25 -SPLIT="cairo-tools" 1.26 +TARBALL="$PACKAGE-$VERSION.tar.xz" 1.27 +WGET_URL="${WEB_SITE}releases/$TARBALL" 1.28 + 1.29 +BUILD_DEPENDS="pkg-config glib-dev libpng16-dev zlib-dev fontconfig-dev \ 1.30 +freetype-dev xorg-libX11-dev xorg-libXext-dev pixman-dev xorg-libXau-dev \ 1.31 +xorg-libXdmcp-dev xorg-libXrender-dev xcb-util-dev libxcb-dev expat-dev \ 1.32 +libxml2-dev" 1.33 +SPLIT="cairo-tools cairo-dev" 1.34 SIBLINGS="cairo-gl" 1.35 1.36 # Handle cross compilation 1.37 @@ -29,7 +28,6 @@ 1.38 compile_rules() 1.39 { 1.40 ./configure \ 1.41 - --prefix=/usr \ 1.42 --enable-xcb \ 1.43 --enable-xlib-xcb \ 1.44 --enable-tee \ 1.45 @@ -42,6 +40,24 @@ 1.46 # Rules to gen a SliTaz package suitable for Tazpkg. 1.47 genpkg_rules() 1.48 { 1.49 - mkdir -p $fs/usr/lib 1.50 - cp -a $install/usr/lib/*.so* $fs/usr/lib 1.51 + case $PACKAGE in 1.52 + cairo) 1.53 + copy libcairo.so* libcairo-gobject.so* libcairo-script-interpreter.so* 1.54 + DEPENDS="bzlib fontconfig freetype glib glibc-base harfbuzz libffi \ 1.55 + libpng16 libxcb libxml2 pcre pixman xorg-libX11 xorg-libXau \ 1.56 + xorg-libXdmcp xorg-libXext xorg-libXrender zlib" 1.57 + ;; 1.58 + cairo-tools) 1.59 + copy bin/ cairo-fdr.so* cairo-sphinx.so* libcairo-trace.so* 1.60 + CAT="development|development tools" 1.61 + DEPENDS="cairo libbfd" 1.62 + ;; 1.63 + cairo-dev) 1.64 + copy @dev 1.65 + DEPENDS="cairo cairo-tools bzip2 fontconfig-dev freetype-dev \ 1.66 + glib-dev harfbuzz-dev libffi-dev libpng16-dev libxcb-dev \ 1.67 + libxml2-dev pcre-dev pixman-dev xorg-libX11-dev xorg-libXau-dev \ 1.68 + xorg-libXdmcp-dev xorg-libXext-dev xorg-libXrender-dev" 1.69 + ;; 1.70 + esac 1.71 }