wok-6.x annotate python-dateutil/receipt @ rev 16088
xfe: up but dont compile for arm
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun Mar 16 01:41:02 2014 +0100 (2014-03-16) |
parents | 636bb875224c |
children | 5d50a02468c7 |
rev | line source |
---|---|
claudinei@3828 | 1 # SliTaz package receipt. |
claudinei@3828 | 2 |
claudinei@3828 | 3 PACKAGE="python-dateutil" |
pascal@11719 | 4 VERSION="1.5" |
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" |
pascal@15378 | 8 LICENSE="PSL" |
claudinei@3828 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
claudinei@3828 | 10 WEB_SITE="http://labix.org/python-dateutil" |
claudinei@3828 | 11 WGET_URL="http://labix.org/download/$PACKAGE/$TARBALL" |
claudinei@3828 | 12 |
pascal@15378 | 13 DEPENDS="python" |
pascal@15378 | 14 BUILD_DEPENDS="python python-dev setuptools" |
pascal@15378 | 15 |
claudinei@3828 | 16 # Rules to configure and make the package. |
claudinei@3828 | 17 compile_rules() |
claudinei@3828 | 18 { |
claudinei@3828 | 19 cd $src |
pascal@15378 | 20 python setup.py install --root=$DESTDIR |
claudinei@3828 | 21 } |
claudinei@3828 | 22 |
claudinei@3828 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
claudinei@3828 | 24 genpkg_rules() |
claudinei@3828 | 25 { |
pascal@15378 | 26 for file in `find $install | grep 'pyc$'`; do |
claudinei@3828 | 27 rm $file |
claudinei@3828 | 28 done |
claudinei@3828 | 29 mkdir -p $fs/usr |
pascal@15378 | 30 cp -a $install/usr/lib $fs/usr |
claudinei@3828 | 31 } |
claudinei@3828 | 32 |