wok-4.x view pil/receipt @ rev 3370

Childsplay: Add post_install()
author Claudinei Pereira <claudinei@slitaz.org>
date Thu Jun 11 19:05:25 2009 +0000 (2009-06-11)
parents 3d99ecce2d4b
children
line source
1 # SliTaz package receipt.
3 PACKAGE="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 }