wok annotate python-dateutil/receipt @ rev 6268
Up: libdrm, libdrm-dev to 2.4.21. Added --enable-radeon to the build.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Tue Sep 14 19:25:56 2010 +0000 (2010-09-14) |
parents | |
children | 636bb875224c |
rev | line source |
---|---|
claudinei@3828 | 1 # SliTaz package receipt. |
claudinei@3828 | 2 |
claudinei@3828 | 3 PACKAGE="python-dateutil" |
claudinei@3828 | 4 VERSION="1.4.1" |
claudinei@3828 | 5 CATEGORY="development" |
claudinei@3828 | 6 SHORT_DESC="Extensions to the standart python 2.3+ datetime module" |
claudinei@3828 | 7 MAINTAINER="claudinei@slitaz.org" |
claudinei@3828 | 8 DEPENDS="python" |
claudinei@3828 | 9 BUILD_DEPENDS="python python-dev setuptools" |
claudinei@3828 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
claudinei@3828 | 11 WEB_SITE="http://labix.org/python-dateutil" |
claudinei@3828 | 12 WGET_URL="http://labix.org/download/$PACKAGE/$TARBALL" |
claudinei@3828 | 13 |
claudinei@3828 | 14 # Rules to configure and make the package. |
claudinei@3828 | 15 compile_rules() |
claudinei@3828 | 16 { |
claudinei@3828 | 17 cd $src |
claudinei@3828 | 18 python setup.py install --root=$PWD/_pkg |
claudinei@3828 | 19 } |
claudinei@3828 | 20 |
claudinei@3828 | 21 # Rules to gen a SliTaz package suitable for Tazpkg. |
claudinei@3828 | 22 genpkg_rules() |
claudinei@3828 | 23 { |
claudinei@3828 | 24 for file in `find $_pkg | grep 'pyc$'`; do |
claudinei@3828 | 25 rm $file |
claudinei@3828 | 26 done |
claudinei@3828 | 27 mkdir -p $fs/usr |
claudinei@3828 | 28 cp -a $_pkg/usr/lib $fs/usr |
claudinei@3828 | 29 } |
claudinei@3828 | 30 |