wok-4.x diff python-dateutil/receipt @ rev 7782
busybox: no init terminal type
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Dec 23 17:55:50 2010 +0100 (2010-12-23) |
parents | |
children | 636bb875224c |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/python-dateutil/receipt Thu Dec 23 17:55:50 2010 +0100 1.3 @@ -0,0 +1,30 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="python-dateutil" 1.7 +VERSION="1.4.1" 1.8 +CATEGORY="development" 1.9 +SHORT_DESC="Extensions to the standart python 2.3+ datetime module" 1.10 +MAINTAINER="claudinei@slitaz.org" 1.11 +DEPENDS="python" 1.12 +BUILD_DEPENDS="python python-dev setuptools" 1.13 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.14 +WEB_SITE="http://labix.org/python-dateutil" 1.15 +WGET_URL="http://labix.org/download/$PACKAGE/$TARBALL" 1.16 + 1.17 +# Rules to configure and make the package. 1.18 +compile_rules() 1.19 +{ 1.20 + cd $src 1.21 + python setup.py install --root=$PWD/_pkg 1.22 +} 1.23 + 1.24 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.25 +genpkg_rules() 1.26 +{ 1.27 + for file in `find $_pkg | grep 'pyc$'`; do 1.28 + rm $file 1.29 + done 1.30 + mkdir -p $fs/usr 1.31 + cp -a $_pkg/usr/lib $fs/usr 1.32 +} 1.33 +