wok-4.x view python-pil/receipt @ rev 4343
Up: slitaz-tools (3.3) - Lots of improvment and fixes
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu Oct 01 22:02:51 2009 +0200 (2009-10-01) |
parents | |
children | 8fd90285da5e |
line source
1 # SliTaz package receipt.
3 PACKAGE="python-pil"
4 VERSION="1.1.6"
5 CATEGORY="development"
6 SHORT_DESC="Python Imaging Library."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 SOURCE="Imaging"
9 TARBALL="$SOURCE-$VERSION.tar.gz"
10 WEB_SITE="http://www.pythonware.com/products/pil/"
11 WGET_URL="http://effbot.org/downloads/$TARBALL"
12 DEPENDS="python jpeg zlib freetype"
13 BUILD_DEPENDS="python python-dev jpeg-dev zlib-dev"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 python setup.py build &&
20 python setup.py install --root=$PWD/_pkg
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs
27 cp -a $_pkg/usr $fs
28 }
30 # Remove old package.
31 post_install()
32 {
33 rm -rf $1/var/lib/tazpkg/installed/pil
34 }