wok-current view python-pyajam/receipt @ rev 25701
Fix dep for libglamoregl.so (libepoxy), and miss file for amdgpu (thanks alanyih)
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Fri Apr 19 12:48:51 2024 +0000 (6 months ago) |
parents | 9aa1f88b45db |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="python-pyajam"
4 VERSION="0.2"
5 CATEGORY="development"
6 SHORT_DESC="Pythonic interface of Asterisk AJAM protocol."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL3"
9 WEB_SITE="https://pypi.org/project/PyAjam/"
10 REPOLOGY="python:pyajam"
12 SOURCE="PyAjam"
13 TARBALL="$SOURCE-$VERSION.tar.gz"
14 WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL"
16 DEPENDS="python"
17 BUILD_DEPENDS="python-setuptools"
19 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - https://raw.githubusercontent.com/gbour/PyAjam/master/CHANGES 2>/dev/null | \
23 sed '/^[0-9]/!d;s| .*||' | sort -Vr | sed q
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 python setup.py install --prefix=/usr --root=$DESTDIR
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 cp -a $install/usr $fs
36 }