wok-4.x annotate punjab/receipt @ rev 9336
lingot: update BUILD_DEPENDS
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Mar 18 16:23:10 2011 +0100 (2011-03-18) |
parents | 9a3b496df3cf |
children | d93669633705 |
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" |
pascal@2151 | 11 DEPENDS="python twisted twisted-words twisted-web twisted-conch 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 |
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 |