wok-current diff pycairo118/receipt @ rev 25694

Fix cifs-utils, up grub2-efi-x64 stuff for iso EFI
author Stanislas Leduc <shann@slitaz.org>
date Sat Mar 30 18:05:22 2024 +0000 (3 months ago)
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/pycairo118/receipt	Sat Mar 30 18:05:22 2024 +0000
     1.3 @@ -0,0 +1,39 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="pycairo118"
     1.7 +SOURCE="pycairo"
     1.8 +VERSION="1.18.2"
     1.9 +CATEGORY="development"
    1.10 +SHORT_DESC="Python bindings for the cairo graphics library."
    1.11 +MAINTAINER="erjo@slitaz.org"
    1.12 +LICENSE="MPL LGPL2.1"
    1.13 +WEB_SITE="https://www.cairographics.org/pycairo/"
    1.14 +
    1.15 +TARBALL="$SOURCE-$VERSION.tar.gz"
    1.16 +WGET_URL="https://github.com/pygobject/$SOURCE/archive/v$VERSION/$TARBALL"
    1.17 +
    1.18 +DEPENDS="cairo expat fontconfig freetype xorg-libX11 xorg-libXau \
    1.19 +	xorg-libXdmcp xorg-libXrender xcb-util"
    1.20 +BUILD_DEPENDS="cairo cairo-dev pkg-config python-dev xorg-xproto"
    1.21 +
    1.22 +current_version()
    1.23 +{
    1.24 +	wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
    1.25 +	sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
    1.26 +}
    1.27 +
    1.28 +# Rules to configure and make the package.
    1.29 +compile_rules()
    1.30 +{
    1.31 +	python setup.py build &&
    1.32 +	python setup.py install --root=$DESTDIR
    1.33 +}
    1.34 +
    1.35 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.36 +genpkg_rules()
    1.37 +{
    1.38 +	PYTHON_LIB=python$(grep ^VERSION= $WOK/python/receipt | sed 's/.*"\(...\).*/\1/')
    1.39 +
    1.40 +	mkdir -p $fs/usr/lib
    1.41 +	cp -a $install/usr/lib/$PYTHON_LIB	$fs/usr/lib
    1.42 +}