wok-6.x view python-pyajam/receipt @ rev 24890
trafshow: libpcap 1.10 has its own pcap_init
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Apr 05 09:06:43 2022 +0000 (2022-04-05) |
parents | 1a39a3d55d0e |
children | 00a75945593a |
line source
1 # SliTaz package receipt.
3 PACKAGE="python-pyajam"
4 GITHASH="e8367de52f52b7381afaad1f7cc9c7e4df1b3acb"
5 VERSION="0.2"
6 CATEGORY="development"
7 SHORT_DESC="Pythonic interface of Asterisk AJAM protocol"
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="GPL3"
10 #WEB_SITE="https://github.com/litnimax/PyAjam"
11 WEB_SITE="https://github.com/gbour/PyAjam"
12 TARBALL="$PACKAGE-$VERSION.zip"
13 WGET_URL="$WEB_SITE/archive/$GITHASH.zip"
15 DEPENDS="python"
16 BUILD_DEPENDS="python-setuptools"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - https://raw.githubusercontent.com/gbour/PyAjam/master/CHANGES 2>/dev/null | \
22 sed '/^[0-9]/!d;s| .*||' | sort -Vr | sed q
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 python setup.py install --prefix=/usr --root=$DESTDIR
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 cp -a $install/usr $fs/
35 }