wok-stable annotate pytz/receipt @ rev 1830

dbus: fix compile_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Dec 09 20:16:07 2008 +0000 (2008-12-09)
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