wok annotate python-pil/receipt @ rev 5953

Up: exiftool 8.27
author Antoine Bodin <gokhlayeh@mailoo.org>
date Tue Aug 03 22:23:30 2010 +0200 (2010-08-03)
parents 6a5553dfb1be
children 2a5cc8208d36
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"
claudinei@3415 8 SOURCE="Imaging"
claudinei@3415 9 TARBALL="$SOURCE-$VERSION.tar.gz"
claudinei@3415 10 WEB_SITE="http://www.pythonware.com/products/pil/"
claudinei@3415 11 WGET_URL="http://effbot.org/downloads/$TARBALL"
pascal@5031 12 DEPENDS="python jpeg zlib freetype tk"
claudinei@3415 13 BUILD_DEPENDS="python python-dev jpeg-dev zlib-dev"
claudinei@3415 14
claudinei@3415 15 # Rules to configure and make the package.
claudinei@3415 16 compile_rules()
claudinei@3415 17 {
claudinei@3415 18 cd $src
claudinei@3415 19 python setup.py build &&
claudinei@3415 20 python setup.py install --root=$PWD/_pkg
claudinei@3415 21 }
claudinei@3415 22
claudinei@3415 23 # Rules to gen a SliTaz package suitable for Tazpkg.
claudinei@3415 24 genpkg_rules()
claudinei@3415 25 {
claudinei@3415 26 mkdir -p $fs
claudinei@3415 27 cp -a $_pkg/usr $fs
claudinei@3415 28 }
claudinei@3415 29
claudinei@3415 30 # Remove old package.
claudinei@3415 31 post_install()
claudinei@3415 32 {
claudinei@3415 33 rm -rf $1/var/lib/tazpkg/installed/pil
claudinei@3415 34 }