wok annotate pylorcon/receipt @ rev 24426

updated cmatrix (1.2a -> 2.0)
author Hans-G?nter Theisgen
date Sat Feb 12 11:04:56 2022 +0100 (2022-02-12)
parents aa1584474883
children d765616e1f3d
rev   line source
slaxemulator@13166 1 # SliTaz package receipt.
slaxemulator@13166 2
slaxemulator@13166 3 PACKAGE="pylorcon"
slaxemulator@13166 4 VERSION="3"
slaxemulator@13166 5 CATEGORY="development"
al@17510 6 SHORT_DESC="Python wrapper for the LORCON 802.11 packet injection library"
slaxemulator@13166 7 MAINTAINER="slaxemulator@gmail.com"
pascal@15376 8 LICENSE="GPL2"
pascal@20683 9 WEB_SITE="https://github.com/blake-regalia/pylorcon"
slaxemulator@13166 10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
slaxemulator@13166 11 WGET_URL="http://pylorcon.googlecode.com/files/$TARBALL"
slaxemulator@13166 12
slaxemulator@13166 13 DEPENDS="python lorcon-old"
slaxemulator@13166 14 BUILD_DEPENDS="python-dev lorcon-old-dev"
slaxemulator@13166 15
pascal@24326 16 # What is the latest version available today?
pascal@24326 17 current_version()
pascal@24326 18 {
pascal@24326 19 wget -O - $WEB_SITE/tags 2>/dev/null | \
pascal@24326 20 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
pascal@24326 21 }
pascal@24326 22
slaxemulator@13166 23 # Rules to configure and make the package.
slaxemulator@13166 24 compile_rules()
slaxemulator@13166 25 {
slaxemulator@13166 26 python setup.py install --root=$DESTDIR
slaxemulator@13166 27 }
slaxemulator@13166 28
slaxemulator@13166 29 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@13166 30 genpkg_rules()
slaxemulator@13166 31 {
slaxemulator@13166 32 cp -a $install/* $fs
slaxemulator@13166 33 }