wok-6.x view python-pil/receipt @ rev 4948

Add lrzip (thanks Medvedev)
author Rohit Joshi <jozee@slitaz.org>
date Wed Feb 17 09:00:44 2010 +0000 (2010-02-17)
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 }