wok view python-pil/receipt @ rev 15635

deadbeef, xpaint, virtualbox-ose: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Dec 09 15:20:40 2013 +0000 (2013-12-09)
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 }