wok view py3k-pillow/receipt @ rev 25161

created recipe for py3k-pillow
author Hans-G?nter Theisgen
date Fri Jul 01 10:04:47 2022 +0100 (22 months ago)
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 }