# HG changeset patch # User Pascal Bellard # Date 1220180289 0 # Node ID 51c53623518eb0dbbf9f6a5d80648f19724acbcc # Parent 245813eb01a8a6176d33fc08cf69e1de7bbe1285 Add pil diff -r 245813eb01a8 -r 51c53623518e pil/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/pil/receipt Sun Aug 31 10:58:09 2008 +0000 @@ -0,0 +1,28 @@ +# SliTaz package receipt. + +PACKAGE="pil" +VERSION="1.1.6" +CATEGORY="development" +SHORT_DESC="Python Imaging Library." +MAINTAINER="pascal.bellard@slitaz.org" +SOURCE="Imaging" +TARBALL="$SOURCE-$VERSION.tar.gz" +WEB_SITE="http://www.pythonware.com/products/pil/" +WGET_URL="http://effbot.org/downloads/$TARBALL" +DEPENDS="libjpeg zlib freetype" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + python setup.py build + python setup.py install --root=$PWD/_pkg +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs + cp -a $_pkg/usr $fs +} +