wok annotate twisted/receipt @ rev 11806

sdcc: fix cp -u
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Feb 25 16:25:09 2012 +0100 (2012-02-25)
parents c2ae1518a0d1
children de49f29b101e
rev   line source
pascal@2149 1 # SliTaz package receipt.
pascal@2149 2
pascal@2149 3 PACKAGE="twisted"
slaxemulator@11070 4 VERSION="11.0.0"
pascal@2149 5 CATEGORY="network"
pascal@2149 6 SHORT_DESC="Event-driven networking for internet applications."
pascal@2149 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@2149 8 SOURCE="Twisted"
pascal@2149 9 TARBALL="$SOURCE-$VERSION.tar.bz2"
pascal@2149 10 WEB_SITE="http://twistedmatrix.com/trac/"
slaxemulator@11070 11 WGET_URL="http://twistedmatrix.com/Releases/Twisted/${VERSION%.*}/$TARBALL"
pascal@2149 12 DEPENDS="python zopeinterface"
slaxemulator@6427 13 BUILD_DEPENDS="python python-dev"
pascal@2149 14
pascal@2149 15 # Rules to configure and make the package.
pascal@2149 16 compile_rules()
pascal@2149 17 {
pascal@2149 18 cd $src
slaxemulator@11070 19 python setup.py build && python setup.py install --root=$DESTDIR
pascal@2149 20 }
pascal@2149 21
pascal@2149 22 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@2149 23 genpkg_rules()
pascal@2149 24 {
pascal@2149 25 cp -a $_pkg/usr $fs
pascal@2149 26 }
pascal@2149 27