wok-current view punjab/receipt @ rev 9113

slitaz-doc: fix genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Mar 05 11:34:20 2011 +0100 (2011-03-05)
parents 9a3b496df3cf
children d93669633705
line source
1 # SliTaz package receipt.
3 PACKAGE="punjab"
4 VERSION="0.14"
5 CATEGORY="network"
6 SHORT_DESC="HTTP jabber proxy allowing persistent client connections."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://punjab.sourceforge.net"
10 WGET_URL="http://code.stanziq.com/$PACKAGE/releases/$TARBALL"
11 DEPENDS="python twisted twisted-words twisted-web twisted-conch pyopenssl"
12 BUILD_DEPENDS="python python-dev"
13 CONFIG_FILES="/etc/punjab.tac"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 mkdir -p _pkg/etc 2> /dev/null
20 cp punjab.tac _pkg/etc
21 python setup.py build && python setup.py install --root=$PWD/_pkg
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 cp -a $_pkg/* $fs
28 }