wok-6.x view python-pil/receipt @ rev 16067
ARM: xorg-server-light cross compile and add more needed packages
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Mar 12 20:54:03 2014 +0100 (2014-03-12) |
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 }