wok-6.x view python-pil/receipt @ rev 15567
Up: thunderbird-langpack-zh_CN (17.0.11esr)
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Sun Nov 24 17:37:53 2013 +0100 (2013-11-24) |
parents | 8fd90285da5e |
children | 7390f8de9846 |
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 LICENSE="MIT"
9 SOURCE="Imaging"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="http://www.pythonware.com/products/pil/"
12 WGET_URL="http://effbot.org/downloads/$TARBALL"
14 DEPENDS="python jpeg zlib freetype tk"
15 BUILD_DEPENDS="python python-dev jpeg-dev zlib-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 python setup.py build &&
22 python setup.py install --root=$DESTDIR
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs
29 cp -a $install/usr $fs
30 }
32 # Remove old package.
33 post_install()
34 {
35 rm -rf $1/var/lib/tazpkg/installed/pil
36 }