wok-stable annotate python-pil/receipt @ rev 4071
Add syasokoban
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Sep 12 22:38:05 2009 +0200 (2009-09-12) |
parents | |
children | 8fd90285da5e |
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" |
claudinei@3415 | 12 DEPENDS="python jpeg zlib freetype" |
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 } |