wok annotate punjab/receipt @ rev 5277
lzma: add --version support
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Apr 16 10:18:15 2010 +0200 (2010-04-16) |
parents | a820b6ae1d43 |
children | 9c7938cac484 |
rev | line source |
---|---|
pascal@2151 | 1 # SliTaz package receipt. |
pascal@2151 | 2 |
pascal@2151 | 3 PACKAGE="punjab" |
pascal@2151 | 4 VERSION="0.13" |
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@2151 | 8 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@2151 | 9 WEB_SITE="http://punjab.sourceforge.net" |
pascal@2151 | 10 WGET_URL="http://code.stanziq.com/cgit/$PACKAGE/$PACKAGE/snapshot/$TARBALL" |
pascal@2151 | 11 DEPENDS="python twisted twisted-words twisted-web twisted-conch pyopenssl" |
pascal@2152 | 12 BUILD_DEPENDS="python" |
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 |
pascal@2152 | 19 mkdir -p _pkg/etc 2> /dev/null |
pascal@2152 | 20 cp punjab.tac _pkg/etc |
pascal@2151 | 21 python setup.py build && python setup.py install --root=$PWD/_pkg |
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 |