wok annotate python-pil/receipt @ rev 16344

Add: cellwriter (a grid-entry natural handwriting input panel with virtual keyboard)
author Christophe Lincoln <pankso@slitaz.org>
date Sat Apr 12 18:58:11 2014 +0200 (2014-04-12)
parents 8fd90285da5e
children 7390f8de9846
rev   line source
claudinei@3415 1 # SliTaz package receipt.
claudinei@3415 2
claudinei@3415 3 PACKAGE="python-pil"
claudinei@3415 4 VERSION="1.1.6"
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"
claudinei@3415 9 SOURCE="Imaging"
claudinei@3415 10 TARBALL="$SOURCE-$VERSION.tar.gz"
claudinei@3415 11 WEB_SITE="http://www.pythonware.com/products/pil/"
claudinei@3415 12 WGET_URL="http://effbot.org/downloads/$TARBALL"
pascal@15379 13
pascal@5031 14 DEPENDS="python jpeg zlib freetype tk"
claudinei@3415 15 BUILD_DEPENDS="python python-dev jpeg-dev zlib-dev"
claudinei@3415 16
claudinei@3415 17 # Rules to configure and make the package.
claudinei@3415 18 compile_rules()
claudinei@3415 19 {
claudinei@3415 20 cd $src
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 {
claudinei@3415 28 mkdir -p $fs
pascal@15379 29 cp -a $install/usr $fs
claudinei@3415 30 }
claudinei@3415 31
claudinei@3415 32 # Remove old package.
claudinei@3415 33 post_install()
claudinei@3415 34 {
claudinei@3415 35 rm -rf $1/var/lib/tazpkg/installed/pil
claudinei@3415 36 }