# HG changeset patch # User Pascal Bellard # Date 1220180372 0 # Node ID 3f07ffb50fa1464b75fd45e076098ed9b7908b5d # Parent 51c53623518eb0dbbf9f6a5d80648f19724acbcc Add pytz diff -r 51c53623518e -r 3f07ffb50fa1 pytz/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/pytz/receipt Sun Aug 31 10:59:32 2008 +0000 @@ -0,0 +1,26 @@ +# SliTaz package receipt. + +PACKAGE="pytz" +VERSION="2006p" +CATEGORY="development" +SHORT_DESC="World Timezone Definitions for Python." +MAINTAINER="pascal.bellard@slitaz.org" +TARBALL="$PACKAGE-$VERSION.tar.bz2" +WEB_SITE="http://pytz.sourceforge.net/" +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + python setup.py build + python setup.py install --root=$PWD/_pkg +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs + cp -a $_pkg/usr $fs +} +