wok-next annotate punjab/receipt @ rev 11614
nanochess: catch ?black arg (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jan 21 23:16:13 2012 +0100 (2012-01-21) |
parents | 9c7938cac484 |
children | 389ec3a23f68 |
rev | line source |
---|---|
pascal@2151 | 1 # SliTaz package receipt. |
pascal@2151 | 2 |
pascal@2151 | 3 PACKAGE="punjab" |
slaxemulator@6429 | 4 VERSION="0.14" |
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" |
slaxemulator@6429 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@2151 | 9 WEB_SITE="http://punjab.sourceforge.net" |
slaxemulator@6429 | 10 WGET_URL="http://code.stanziq.com/$PACKAGE/releases/$TARBALL" |
slaxemulator@11071 | 11 DEPENDS="python twisted pyopenssl" |
slaxemulator@6429 | 12 BUILD_DEPENDS="python python-dev" |
pascal@2152 | 13 CONFIG_FILES="/etc/punjab.tac" |
pascal@2151 | 14 |
pascal@2151 | 15 # Rules to configure and make the package. |
pascal@2151 | 16 compile_rules() |
pascal@2151 | 17 { |
pascal@2151 | 18 cd $src |
slaxemulator@11071 | 19 mkdir -p $DESTDIR/etc 2> /dev/null |
slaxemulator@11071 | 20 cp punjab.tac $DESTDIR/etc |
slaxemulator@11071 | 21 python setup.py build && python setup.py install --root=$DESTDIR |
pascal@2151 | 22 } |
pascal@2151 | 23 |
pascal@2151 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@2151 | 25 genpkg_rules() |
pascal@2151 | 26 { |
pascal@2152 | 27 cp -a $_pkg/* $fs |
pascal@2151 | 28 } |
pascal@2151 | 29 |