wok-stable view python-pil/receipt @ rev 5284
Up: dstat (0.7.1)
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Sat Apr 17 13:05:23 2010 +0000 (2010-04-17) |
parents | 6a5553dfb1be |
children |
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 tk"
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 }