wok annotate kivy/receipt @ rev 25261

qt5: modified configure
author Hans-G?nter Theisgen
date Fri Jul 15 07:57:26 2022 +0100 (2022-07-15)
parents a3c45ab9082e
children
rev   line source
pascal@13740 1 # SliTaz package receipt.
pascal@13740 2
pascal@13740 3 PACKAGE="kivy"
pascal@13740 4 SOURCE="Kivy"
Hans-G?nter@22371 5 VERSION="1.10.1"
pascal@13740 6 CATEGORY="development"
pascal@13740 7 SHORT_DESC="Cross platform library for rapid development of applications."
pascal@13740 8 MAINTAINER="pascal.bellard@slitaz.org"
pascal@24727 9 LICENSE="MIT"
pascal@20669 10 WEB_SITE="https://kivy.org/"
Hans-G?nter@22371 11
pascal@13740 12 TARBALL="$SOURCE-$VERSION.tar.gz"
Hans-G?nter@22371 13 WGET_URL="https://pypi.python.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL"
pascal@13740 14
pascal@13740 15 DEPENDS="python"
Hans-G?nter@22372 16 BUILD_DEPENDS="glew-dev gstreamer-1.0-dev libsdl2-dev libsdl2-image-dev
Hans-G?nter@22372 17 libsdl2-mixer-dev libsdl2-ttf-dev mesa-dev python-cython python-dev"
pascal@13740 18
pascal@24083 19 current_version()
pascal@24083 20 {
pascal@24083 21 wget -O - https://github.com/kivy/kivy 2>/dev/null | \
pascal@24083 22 sed '/releases.tag/!d;s|.*/tag.v*\(.*\)".*|\1|;q'
pascal@24083 23 }
pascal@24083 24
pascal@13740 25 # Rules to configure and make the package.
pascal@13740 26 compile_rules()
pascal@13740 27 {
pascal@13740 28 python setup.py build &&
pascal@13740 29 python setup.py install --root=$DESTDIR
pascal@13740 30 }
pascal@13740 31
pascal@13740 32 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@13740 33 genpkg_rules()
pascal@13740 34 {
pascal@13740 35 cp -a $install/* $fs
pascal@13740 36 }