wok-next diff cairomm/receipt @ rev 20146

Up qemu-light (2.0.2)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Nov 01 11:50:08 2017 +0100 (2017-11-01)
parents 2c48a1f40bb6
children 835b3b8ce6ac
line diff
     1.1 --- a/cairomm/receipt	Fri May 26 16:40:11 2017 +0300
     1.2 +++ b/cairomm/receipt	Wed Nov 01 11:50:08 2017 +0100
     1.3 @@ -1,12 +1,13 @@
     1.4  # SliTaz package receipt v2.
     1.5  
     1.6  PACKAGE="cairomm"
     1.7 -VERSION="1.12.0"
     1.8 +VERSION="1.12.2"
     1.9  CATEGORY="x-window"
    1.10  SHORT_DESC="C++ interface to Cairo"
    1.11  MAINTAINER="pankso@slitaz.org"
    1.12  LICENSE="LGPL2"
    1.13  WEB_SITE="https://www.cairographics.org/"
    1.14 +LFS="http://www.linuxfromscratch.org/blfs/view/stable/x/cairomm.html"
    1.15  
    1.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.17  WGET_URL="http://cairographics.org/releases/$TARBALL"
    1.18 @@ -14,30 +15,26 @@
    1.19  BUILD_DEPENDS="cairo-dev libsigc++-dev"
    1.20  SPLIT="cairomm-dev"
    1.21  
    1.22 -# Rules to configure and make the package.
    1.23 -compile_rules()
    1.24 -{
    1.25 +compile_rules() {
    1.26  	sed -i "/^libdocdir =/ s|\$(book_name)|cairomm-$VERSION|" docs/Makefile.in
    1.27  
    1.28  	./configure $CONFIGURE_ARGS && make && make install
    1.29  }
    1.30  
    1.31 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.32 -genpkg_rules()
    1.33 -{
    1.34 +genpkg_rules() {
    1.35  	case $PACKAGE in
    1.36  		cairomm)
    1.37  			copy @std
    1.38 -			DEPENDS="cairo freetype libpng libsigc++ xorg-libX11 xorg-libXext \
    1.39 -			xorg-libXrender zlib"
    1.40 +			DEPENDS="cairo freetype libpng16 libsigc++ xorg-libX11 \
    1.41 +			xorg-libXext xorg-libXrender zlib"
    1.42  			;;
    1.43  		cairomm-dev)
    1.44  			copy @dev
    1.45  			DEPENDS="cairomm bzip2-dev cairo-dev fontconfig-dev freetype-dev \
    1.46 -			glib-dev harfbuzz-dev liblzma-dev libpng-dev libsigc++-dev \
    1.47 -			libxcb-dev libxml2-dev pcre-dev pixman-dev xorg-libX11-dev \
    1.48 -			xorg-libXau-dev xorg-libXdmcp-dev xorg-libXext-dev \
    1.49 -			xorg-libXrender-dev zlib-dev"
    1.50 +			glib-dev harfbuzz-dev libpng16-dev libsigc++-dev libxml2-dev \
    1.51 +			pcre-dev xorg-libX11-dev xorg-libXau-dev xorg-libXdmcp-dev \
    1.52 +			xorg-libXext-dev xorg-libXrender-dev xorg-libxcb-dev \
    1.53 +			xorg-pixman-dev xz-dev zlib-dev"
    1.54  			;;
    1.55  	esac
    1.56  }