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