wok-6.x rev 1331

Add pytz
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Aug 31 10:59:32 2008 +0000 (2008-08-31)
parents 51c53623518e
children acc17429dc0c
files pytz/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/pytz/receipt	Sun Aug 31 10:59:32 2008 +0000
     1.3 @@ -0,0 +1,26 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="pytz"
     1.7 +VERSION="2006p"
     1.8 +CATEGORY="development"
     1.9 +SHORT_DESC="World Timezone Definitions for Python."
    1.10 +MAINTAINER="pascal.bellard@slitaz.org"
    1.11 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.12 +WEB_SITE="http://pytz.sourceforge.net/"
    1.13 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.14 +
    1.15 +# Rules to configure and make the package.
    1.16 +compile_rules()
    1.17 +{
    1.18 +	cd $src
    1.19 +	python setup.py build
    1.20 +	python setup.py install --root=$PWD/_pkg
    1.21 +}
    1.22 +
    1.23 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.24 +genpkg_rules()
    1.25 +{
    1.26 +	mkdir -p $fs
    1.27 +	cp -a $_pkg/usr $fs
    1.28 +}
    1.29 +