wok-4.x annotate pil/receipt @ rev 3370

Childsplay: Add post_install()
author Claudinei Pereira <claudinei@slitaz.org>
date Thu Jun 11 19:05:25 2009 +0000 (2009-06-11)
parents 3d99ecce2d4b
children
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"
mallory@3286 13 BUILD_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