wok view python-pil/receipt @ rev 22117
updated vsftpd (2.3.5 -> 3.0.3)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Nov 02 16:53:53 2019 +0100 (2019-11-02) |
parents | 1067bb7f1e24 |
children | fdcd466dc27c |
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 python setup.py build &&
21 python setup.py install --root=$DESTDIR
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs
28 cp -a $install/usr $fs
29 }
31 # Remove old package.
32 post_install()
33 {
34 [ ! -d "$1/var/lib/tazpkg/installed/pil" ] ||
35 rm -rf "$1/var/lib/tazpkg/installed/pil"
36 }