wok annotate python-docutils/receipt @ rev 21057
updated ipmitool (1.8.16 -> 1.8.18)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Mar 13 15:20:22 2019 +0100 (2019-03-13) |
parents | 1067bb7f1e24 |
children | 504075bdacfe |
rev | line source |
---|---|
claudinei@3392 | 1 # SliTaz package receipt. |
claudinei@3392 | 2 |
claudinei@3392 | 3 PACKAGE="python-docutils" |
claudinei@3392 | 4 SOURCE="docutils" |
claudinei@14874 | 5 VERSION="0.11" |
claudinei@3392 | 6 CATEGORY="development" |
claudinei@3392 | 7 SHORT_DESC="Text processing system." |
claudinei@3392 | 8 MAINTAINER="claudinei@slitaz.org" |
pascal@15379 | 9 LICENSE="PublicDomain GPL3 BSD" |
claudinei@14874 | 10 TARBALL="$SOURCE-$VERSION.tar.gz" |
claudinei@3392 | 11 WEB_SITE="http://docutils.sourceforge.net" |
claudinei@14874 | 12 WGET_URL="http://switch.dl.sourceforge.net/project/$SOURCE/$SOURCE/$VERSION/$TARBALL" |
claudinei@3392 | 13 DEPENDS="python" |
claudinei@3392 | 14 BUILD_DEPENDS="python python-dev" |
pascal@17482 | 15 SUGGESTED="python-pil" |
claudinei@3392 | 16 |
claudinei@3392 | 17 # Rules to configure and make the package. |
claudinei@3392 | 18 compile_rules() |
claudinei@3392 | 19 { |
claudinei@14874 | 20 python setup.py install --root=$DESTDIR |
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@14874 | 26 cp -a $install/usr $fs |
claudinei@3392 | 27 } |
claudinei@3392 | 28 |
claudinei@3404 | 29 # Remove old package. |
claudinei@3404 | 30 post_install() |
claudinei@3404 | 31 { |
pascal@18730 | 32 [ ! -d "$1/var/lib/tazpkg/installed/docutils" ] || |
pascal@18730 | 33 rm -rf "$1/var/lib/tazpkg/installed/docutils" |
claudinei@3404 | 34 } |