wok annotate pil/receipt @ rev 1330

Add pil
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Aug 31 10:58:09 2008 +0000 (2008-08-31)
parents
children 3aa239f1d0ac
rev   line source
pascal@1330 1 # SliTaz package receipt.
pascal@1330 2
pascal@1330 3 PACKAGE="pil"
pascal@1330 4 VERSION="1.1.6"
pascal@1330 5 CATEGORY="development"
pascal@1330 6 SHORT_DESC="Python Imaging Library."
pascal@1330 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@1330 8 SOURCE="Imaging"
pascal@1330 9 TARBALL="$SOURCE-$VERSION.tar.gz"
pascal@1330 10 WEB_SITE="http://www.pythonware.com/products/pil/"
pascal@1330 11 WGET_URL="http://effbot.org/downloads/$TARBALL"
pascal@1330 12 DEPENDS="libjpeg zlib freetype"
pascal@1330 13
pascal@1330 14 # Rules to configure and make the package.
pascal@1330 15 compile_rules()
pascal@1330 16 {
pascal@1330 17 cd $src
pascal@1330 18 python setup.py build
pascal@1330 19 python setup.py install --root=$PWD/_pkg
pascal@1330 20 }
pascal@1330 21
pascal@1330 22 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@1330 23 genpkg_rules()
pascal@1330 24 {
pascal@1330 25 mkdir -p $fs
pascal@1330 26 cp -a $_pkg/usr $fs
pascal@1330 27 }
pascal@1330 28