# SliTaz package receipt. PACKAGE="punjab" VERSION="0.15" CATEGORY="network" SHORT_DESC="HTTP jabber proxy allowing persistent client connections." MAINTAINER="pascal.bellard@slitaz.org" LICENSE="GPL2" TARBALL="$PACKAGE-$VERSION.tar.gz" WEB_SITE="https://punjab.sourceforge.net" WGET_URL="https://github.com/twonds/punjab/archive/v$VERSION.tar.gz" CONFIG_FILES="/etc/punjab.tac" DEPENDS="python twisted pyopenssl" BUILD_DEPENDS="python python-dev" current_version() { wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \ sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q' } # Rules to configure and make the package. compile_rules() { python setup.py build && python setup.py install --root=$DESTDIR } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { cp -a $install/* $fs }