wok-6.x view pylorcon/receipt @ rev 24572
updated freetds and freetds-dev (1.1.24 -> 1.3.9)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Feb 27 07:32:20 2022 +0100 (2022-02-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 }