wok view py3k-pillow/receipt @ rev 25178

Add linux-chrome
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jul 03 18:25:40 2022 +0000 (2022-07-03)
parents
children 2b069c72d47e
line source
1 # SliTaz package receipt.
3 PACKAGE="py3k-pillow"
4 VERSION="9.1.1"
5 CATEGORY="development"
6 SHORT_DESC="Python3 Imaging Library."
7 MAINTAINER="maintainer@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="https://python-pillow.org/"
11 SOURCE="Pillow"
12 TARBALL="$SOURCE-$VERSION.tar.gz"
13 WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL"
15 DEPENDS="freetype jpeg py3k tk zlib"
16 BUILD_DEPENDS="jpeg-dev py3k-dev zlib-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 python3 setup.py build &&
22 python3 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 }