wok-6.x view py3k-pillow/receipt @ rev 25563

New toolchain GCC 4.9.2, Glibc 2.19, Binutils 2.37
author Stanislas Leduc <shann@slitaz.org>
date Fri May 05 18:12:18 2023 +0200 (13 months ago)
parents
children
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 }