wok-next annotate pytz/receipt @ rev 1331
Add pytz
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Aug 31 10:59:32 2008 +0000 (2008-08-31) |
parents | |
children | 7869c27eeaf7 |
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@1331 | 8 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@1331 | 9 WEB_SITE="http://pytz.sourceforge.net/" |
pascal@1331 | 10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@1331 | 11 |
pascal@1331 | 12 # Rules to configure and make the package. |
pascal@1331 | 13 compile_rules() |
pascal@1331 | 14 { |
pascal@1331 | 15 cd $src |
pascal@1331 | 16 python setup.py build |
pascal@1331 | 17 python setup.py install --root=$PWD/_pkg |
pascal@1331 | 18 } |
pascal@1331 | 19 |
pascal@1331 | 20 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1331 | 21 genpkg_rules() |
pascal@1331 | 22 { |
pascal@1331 | 23 mkdir -p $fs |
pascal@1331 | 24 cp -a $_pkg/usr $fs |
pascal@1331 | 25 } |
pascal@1331 | 26 |