wok-stable view python-pil/receipt @ rev 4970

add/improve TAGS o* receipts
author Rohit Joshi <jozee@slitaz.org>
date Wed Feb 24 11:10:57 2010 +0000 (2010-02-24)
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 }