wok-6.x annotate pytz/receipt @ rev 2139
Add jabberd2
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Feb 03 17:07:11 2009 +0000 (2009-02-03) |
parents | 3f07ffb50fa1 |
children |
rev | line source |
---|---|
pascal@1331 | 1 # SliTaz package receipt. |
pascal@1331 | 2 |
pascal@1331 | 3 PACKAGE="pytz" |
pascal@1331 | 4 VERSION="2006p" |
pascal@1331 | 5 CATEGORY="development" |
pascal@1331 | 6 SHORT_DESC="World Timezone Definitions for Python." |
pascal@1331 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@1450 | 8 DEPENDS="python" |
pascal@1450 | 9 BUILD_DEPENDS="python-dev python" |
pascal@1331 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@1331 | 11 WEB_SITE="http://pytz.sourceforge.net/" |
pascal@1331 | 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@1331 | 13 |
pascal@1331 | 14 # Rules to configure and make the package. |
pascal@1331 | 15 compile_rules() |
pascal@1331 | 16 { |
pascal@1331 | 17 cd $src |
pascal@1450 | 18 python setup.py build && |
pascal@1331 | 19 python setup.py install --root=$PWD/_pkg |
pascal@1331 | 20 } |
pascal@1331 | 21 |
pascal@1331 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1331 | 23 genpkg_rules() |
pascal@1331 | 24 { |
pascal@1331 | 25 mkdir -p $fs |
pascal@1331 | 26 cp -a $_pkg/usr $fs |
pascal@1331 | 27 } |
pascal@1331 | 28 |