wok-6.x diff 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 (14 months ago) |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/py3k-pillow/receipt Fri May 05 18:12:18 2023 +0200 1.3 @@ -0,0 +1,30 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="py3k-pillow" 1.7 +VERSION="9.1.1" 1.8 +CATEGORY="development" 1.9 +SHORT_DESC="Python3 Imaging Library." 1.10 +MAINTAINER="maintainer@slitaz.org" 1.11 +LICENSE="MIT" 1.12 +WEB_SITE="https://python-pillow.org/" 1.13 + 1.14 +SOURCE="Pillow" 1.15 +TARBALL="$SOURCE-$VERSION.tar.gz" 1.16 +WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL" 1.17 + 1.18 +DEPENDS="freetype jpeg py3k tk zlib" 1.19 +BUILD_DEPENDS="jpeg-dev py3k-dev zlib-dev" 1.20 + 1.21 +# Rules to configure and make the package. 1.22 +compile_rules() 1.23 +{ 1.24 + python3 setup.py build && 1.25 + python3 setup.py install --root=$DESTDIR 1.26 +} 1.27 + 1.28 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.29 +genpkg_rules() 1.30 +{ 1.31 + mkdir -p $fs 1.32 + cp -a $install/usr $fs 1.33 +}