wok annotate punjab/receipt @ rev 25074

Add python-ipaddress
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jun 13 19:39:39 2022 +0000 (23 months ago)
parents 5ea0ce1cecc0
children b0069c845544
rev   line source
pascal@2151 1 # SliTaz package receipt.
pascal@2151 2
pascal@2151 3 PACKAGE="punjab"
pascal@20571 4 VERSION="0.15"
pascal@2151 5 CATEGORY="network"
pascal@2151 6 SHORT_DESC="HTTP jabber proxy allowing persistent client connections."
pascal@2151 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15087 8 LICENSE="GPL2"
slaxemulator@6429 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@2151 10 WEB_SITE="http://punjab.sourceforge.net"
pascal@20571 11 WGET_URL="https://github.com/twonds/punjab/archive/v$VERSION.tar.gz"
pascal@15087 12 CONFIG_FILES="/etc/punjab.tac"
pascal@15087 13
slaxemulator@11071 14 DEPENDS="python twisted pyopenssl"
slaxemulator@6429 15 BUILD_DEPENDS="python python-dev"
pascal@2151 16
pascal@24055 17 current_version()
pascal@24055 18 {
pascal@24299 19 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \
pascal@24055 20 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
pascal@24055 21 }
pascal@24055 22
pascal@2151 23 # Rules to configure and make the package.
pascal@2151 24 compile_rules()
pascal@2151 25 {
slaxemulator@11071 26 python setup.py build && python setup.py install --root=$DESTDIR
pascal@2151 27 }
pascal@2151 28
pascal@2151 29 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@2151 30 genpkg_rules()
pascal@2151 31 {
pascal@15087 32 cp -a $install/* $fs
pascal@2151 33 }