wok annotate python-docutils/receipt @ rev 11915
squid: improve package (again)
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Thu Mar 01 00:00:54 2012 +0100 (2012-03-01) |
parents | 5519da658874 |
children | 2338b9f26d78 |
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@3392 | 19 cd $src |
claudinei@3392 | 20 python setup.py install --root=$PWD/_pkg |
claudinei@3392 | 21 } |
claudinei@3392 | 22 |
claudinei@3392 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
claudinei@3392 | 24 genpkg_rules() |
claudinei@3392 | 25 { |
claudinei@3392 | 26 mkdir -p $fs/usr |
claudinei@3392 | 27 cp -a $_pkg/usr $fs |
claudinei@3392 | 28 } |
claudinei@3392 | 29 |
claudinei@3404 | 30 # Remove old package. |
claudinei@3404 | 31 post_install() |
claudinei@3404 | 32 { |
claudinei@3404 | 33 rm -rf $1/var/lib/tazpkg/installed/docutils |
claudinei@3404 | 34 } |