wok-next diff pycairo/receipt @ rev 19993

Up qtwebkit (5.212.0-alpha2)
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Fri Oct 20 15:29:03 2017 +0200 (2017-10-20)
parents 16df76e1fc6a
children 05d4a6d977d4
line diff
     1.1 --- a/pycairo/receipt	Fri May 22 17:34:18 2015 +0300
     1.2 +++ b/pycairo/receipt	Fri Oct 20 15:29:03 2017 +0200
     1.3 @@ -1,19 +1,18 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="pycairo"
     1.8  VERSION="1.10.0"
     1.9  CATEGORY="development"
    1.10 -SHORT_DESC="Python bindings for the cairo graphics library."
    1.11 +SHORT_DESC="Python bindings for the cairo graphics library"
    1.12  MAINTAINER="erjo@slitaz.org"
    1.13  LICENSE="MPL LGPL2.1"
    1.14 -SOURCE="py2cairo"
    1.15 -TARBALL="$SOURCE-$VERSION.tar.bz2"
    1.16  WEB_SITE="http://www.cairographics.org/pycairo/"
    1.17 +
    1.18 +TARBALL="py2cairo-$VERSION.tar.bz2"
    1.19  WGET_URL="http://www.cairographics.org/releases/$TARBALL"
    1.20  
    1.21 -DEPENDS="cairo expat fontconfig freetype xorg-libX11 xorg-libXau \
    1.22 -xorg-libXdmcp xorg-libXrender xcb-util"
    1.23  BUILD_DEPENDS="pkg-config cairo cairo-dev xorg-xproto python-dev"
    1.24 +SPLIT="pycairo-dev"
    1.25  
    1.26  # Rules to configure and make the package.
    1.27  compile_rules()
    1.28 @@ -26,7 +25,12 @@
    1.29  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.30  genpkg_rules()
    1.31  {
    1.32 -	PYTHON_LIB=python$(grep ^VERSION= $WOK/python/receipt | sed 's/.*"\(...\).*/\1/')
    1.33 -	mkdir -p $fs/usr/lib
    1.34 -	cp -a $install/usr/lib/$PYTHON_LIB $fs/usr/lib
    1.35 +	case $PACKAGE in
    1.36 +		pycairo)
    1.37 +			copy @std
    1.38 +			DEPENDS="cairo expat fontconfig freetype xorg-libX11 xorg-libXau \
    1.39 +			xorg-libXdmcp xorg-libXrender xcb-util"
    1.40 +			;;
    1.41 +		*-dev) copy @dev;;
    1.42 +	esac
    1.43  }