wok-6.x view pylorcon/receipt @ rev 24326

Update some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jan 27 12:16:00 2022 +0000 (2022-01-27)
parents aa1584474883
children d765616e1f3d
line source
1 # SliTaz package receipt.
3 PACKAGE="pylorcon"
4 VERSION="3"
5 CATEGORY="development"
6 SHORT_DESC="Python wrapper for the LORCON 802.11 packet injection library"
7 MAINTAINER="slaxemulator@gmail.com"
8 LICENSE="GPL2"
9 WEB_SITE="https://github.com/blake-regalia/pylorcon"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WGET_URL="http://pylorcon.googlecode.com/files/$TARBALL"
13 DEPENDS="python lorcon-old"
14 BUILD_DEPENDS="python-dev lorcon-old-dev"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - $WEB_SITE/tags 2>/dev/null | \
20 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 python setup.py install --root=$DESTDIR
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 cp -a $install/* $fs
33 }