wok-stable annotate pil/receipt @ rev 2537

libgsf: build --without-python
author Christophe Lincoln <pankso@slitaz.org>
date Sun Mar 22 11:49:27 2009 +0100 (2009-03-22)
parents 3aa239f1d0ac
children 969acaae8c1d
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@1511 12 DEPENDS="python jpeg zlib freetype"
pascal@1511 13 DUILD_DEPENDS="python python-dev jpeg-dev zlib-dev"
pascal@1330 14
pascal@1330 15 # Rules to configure and make the package.
pascal@1330 16 compile_rules()
pascal@1330 17 {
pascal@1330 18 cd $src
pascal@1511 19 python setup.py build &&
pascal@1330 20 python setup.py install --root=$PWD/_pkg
pascal@1330 21 }
pascal@1330 22
pascal@1330 23 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@1330 24 genpkg_rules()
pascal@1330 25 {
pascal@1330 26 mkdir -p $fs
pascal@1330 27 cp -a $_pkg/usr $fs
pascal@1330 28 }
pascal@1330 29