# SliTaz package receipt.

PACKAGE="punjab"
VERSION="0.14"
CATEGORY="network"
SHORT_DESC="HTTP jabber proxy allowing persistent client connections."
MAINTAINER="pascal.bellard@slitaz.org"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="http://punjab.sourceforge.net"
WGET_URL="http://code.stanziq.com/$PACKAGE/releases/$TARBALL"
DEPENDS="python twisted pyopenssl"
BUILD_DEPENDS="python python-dev"
CONFIG_FILES="/etc/punjab.tac"

# Rules to configure and make the package.
compile_rules()
{
	cd $src
	mkdir -p $DESTDIR/etc 2> /dev/null
	cp punjab.tac $DESTDIR/etc
	python setup.py build && python setup.py install --root=$DESTDIR
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
	cp -a $_pkg/* $fs
}