wok-current annotate python-pil/receipt @ rev 23527
updated python-pil (1.1.6 -> 1.1.7)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Apr 06 14:22:33 2020 +0100 (2020-04-06) |
parents | 9e01bc6321ea |
children | 1df6fa555414 |
rev | line source |
---|---|
claudinei@3415 | 1 # SliTaz package receipt. |
claudinei@3415 | 2 |
claudinei@3415 | 3 PACKAGE="python-pil" |
Hans-G?nter@23527 | 4 VERSION="1.1.7" |
claudinei@3415 | 5 CATEGORY="development" |
claudinei@3415 | 6 SHORT_DESC="Python Imaging Library." |
claudinei@3415 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15379 | 8 LICENSE="MIT" |
Hans-G?nter@23527 | 9 WEB_SITE="https://pypi.org/project/PIL/" |
Hans-G?nter@23527 | 10 |
claudinei@3415 | 11 SOURCE="Imaging" |
claudinei@3415 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
claudinei@3415 | 13 WGET_URL="http://effbot.org/downloads/$TARBALL" |
pascal@15379 | 14 |
Hans-G?nter@23527 | 15 DEPENDS="freetype jpeg python tk zlib" |
Hans-G?nter@23527 | 16 BUILD_DEPENDS="jpeg-dev python python-dev zlib-dev" |
claudinei@3415 | 17 |
claudinei@3415 | 18 # Rules to configure and make the package. |
claudinei@3415 | 19 compile_rules() |
claudinei@3415 | 20 { |
claudinei@3415 | 21 python setup.py build && |
pascal@15379 | 22 python setup.py install --root=$DESTDIR |
claudinei@3415 | 23 } |
claudinei@3415 | 24 |
claudinei@3415 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
claudinei@3415 | 26 genpkg_rules() |
claudinei@3415 | 27 { |
Hans-G?nter@23527 | 28 cp -a $install/usr $fs |
claudinei@3415 | 29 } |
claudinei@3415 | 30 |
claudinei@3415 | 31 # Remove old package. |
claudinei@3415 | 32 post_install() |
claudinei@3415 | 33 { |
pascal@18730 | 34 [ ! -d "$1/var/lib/tazpkg/installed/pil" ] || |
pascal@18730 | 35 rm -rf "$1/var/lib/tazpkg/installed/pil" |
claudinei@3415 | 36 } |