wok-current annotate python-docutils/receipt @ rev 7140
Fixed mplayerplug-in to use mplayer instead of mplayer-svn.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sat Nov 06 03:30:43 2010 +0000 (2010-11-06) |
parents | ad73f7efcc3d |
children | be13f25e790b |
rev | line source |
---|---|
claudinei@3392 | 1 # SliTaz package receipt. |
claudinei@3392 | 2 |
claudinei@3392 | 3 PACKAGE="python-docutils" |
claudinei@3392 | 4 SOURCE="docutils" |
claudinei@3787 | 5 VERSION="snapshot" |
claudinei@3392 | 6 CATEGORY="development" |
claudinei@3392 | 7 SHORT_DESC="Text processing system." |
claudinei@3392 | 8 MAINTAINER="claudinei@slitaz.org" |
claudinei@3787 | 9 TARBALL="$SOURCE-$VERSION.tgz" |
claudinei@3392 | 10 WEB_SITE="http://docutils.sourceforge.net" |
claudinei@3787 | 11 WGET_URL="$WEB_SITE/$TARBALL" |
claudinei@3392 | 12 DEPENDS="python" |
claudinei@3392 | 13 BUILD_DEPENDS="python python-dev" |
claudinei@3392 | 14 SUGGESTED="pil" |
claudinei@3392 | 15 |
claudinei@3392 | 16 # Rules to configure and make the package. |
claudinei@3392 | 17 compile_rules() |
claudinei@3392 | 18 { |
claudinei@3787 | 19 src="$SOURCE" |
claudinei@3392 | 20 cd $src |
claudinei@3392 | 21 python setup.py install --root=$PWD/_pkg |
claudinei@3392 | 22 } |
claudinei@3392 | 23 |
claudinei@3392 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
claudinei@3392 | 25 genpkg_rules() |
claudinei@3392 | 26 { |
claudinei@3787 | 27 _pkg="$SOURCE/_pkg" |
claudinei@3787 | 28 for file in `find $_pkg | grep 'pyc$'`; do |
claudinei@3787 | 29 rm $file |
claudinei@3787 | 30 done |
claudinei@3392 | 31 mkdir -p $fs/usr |
claudinei@3392 | 32 cp -a $_pkg/usr $fs |
claudinei@3392 | 33 } |
claudinei@3392 | 34 |
claudinei@3404 | 35 # Remove old package. |
claudinei@3404 | 36 post_install() |
claudinei@3404 | 37 { |
claudinei@3404 | 38 rm -rf $1/var/lib/tazpkg/installed/docutils |
claudinei@3404 | 39 } |