wok-6.x diff python-docutils/receipt @ rev 7559
Made sure that /usr/share folder is made in gnome-doc-utils-dev. Otherwise /usr/share/aclocal folder becomes /usr/share folder.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Wed Dec 08 11:04:39 2010 +0000 (2010-12-08) |
parents | ad73f7efcc3d |
children | be13f25e790b |
line diff
1.1 --- a/python-docutils/receipt Fri Jun 12 11:12:54 2009 +0000 1.2 +++ b/python-docutils/receipt Wed Dec 08 11:04:39 2010 +0000 1.3 @@ -2,13 +2,13 @@ 1.4 1.5 PACKAGE="python-docutils" 1.6 SOURCE="docutils" 1.7 -VERSION="0.5" 1.8 +VERSION="snapshot" 1.9 CATEGORY="development" 1.10 SHORT_DESC="Text processing system." 1.11 MAINTAINER="claudinei@slitaz.org" 1.12 -TARBALL="$SOURCE-$VERSION.tar.gz" 1.13 +TARBALL="$SOURCE-$VERSION.tgz" 1.14 WEB_SITE="http://docutils.sourceforge.net" 1.15 -WGET_URL="$SF_MIRROR/$SOURCE/$TARBALL" 1.16 +WGET_URL="$WEB_SITE/$TARBALL" 1.17 DEPENDS="python" 1.18 BUILD_DEPENDS="python python-dev" 1.19 SUGGESTED="pil" 1.20 @@ -16,6 +16,7 @@ 1.21 # Rules to configure and make the package. 1.22 compile_rules() 1.23 { 1.24 + src="$SOURCE" 1.25 cd $src 1.26 python setup.py install --root=$PWD/_pkg 1.27 } 1.28 @@ -23,6 +24,10 @@ 1.29 # Rules to gen a SliTaz package suitable for Tazpkg. 1.30 genpkg_rules() 1.31 { 1.32 + _pkg="$SOURCE/_pkg" 1.33 + for file in `find $_pkg | grep 'pyc$'`; do 1.34 + rm $file 1.35 + done 1.36 mkdir -p $fs/usr 1.37 cp -a $_pkg/usr $fs 1.38 }