wok-current annotate python-pillow/receipt @ rev 15882
Add python-pillow
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Feb 06 22:10:37 2014 +0000 (2014-02-06) |
parents | |
children | b0725341d969 |
rev | line source |
---|---|
pascal@15882 | 1 # SliTaz package receipt. |
pascal@15882 | 2 |
pascal@15882 | 3 PACKAGE="python27-pillow" |
pascal@15882 | 4 VERSION="2.3.0" |
pascal@15882 | 5 CATEGORY="development" |
pascal@15882 | 6 SHORT_DESC="Python Imaging Library (Fork)." |
pascal@15882 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15882 | 8 LICENSE="PSL" |
pascal@15882 | 9 SOURCE="Pillow" |
pascal@15882 | 10 TARBALL="$SOURCE-$VERSION.zip" |
pascal@15882 | 11 WEB_SITE="http://pypi.python.org/pypi/$SOURCE/$VERSION" |
pascal@15882 | 12 WGET_URL="http://pypi.python.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL" |
pascal@15882 | 13 |
pascal@15882 | 14 DEPENDS="python" |
pascal@15882 | 15 BUILD_DEPENDS="python" |
pascal@15882 | 16 |
pascal@15882 | 17 # Rules to configure and make the package. |
pascal@15882 | 18 compile_rules() |
pascal@15882 | 19 { |
pascal@15882 | 20 python setup.py install --root=$DESTDIR |
pascal@15882 | 21 } |
pascal@15882 | 22 |
pascal@15882 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@15882 | 24 genpkg_rules() |
pascal@15882 | 25 { |
pascal@15882 | 26 cp -a $install/usr $fs |
pascal@15882 | 27 } |
pascal@15882 | 28 |