wok-current annotate pylorcon/receipt @ rev 25601
use gcc49-lib-base for openldap-dev
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Fri Sep 01 12:04:33 2023 +0000 (16 months ago) |
parents | 095836df71b7 |
children |
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" |
pascal@24979 | 11 WGET_URL="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/$PACKAGE/$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 } |