wok annotate matplotlib/receipt @ rev 5990
uclibc-cross-compiler-i486: add run time support for host
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Aug 14 16:57:26 2010 +0200 (2010-08-14) |
parents | 90fa5e62d1ab |
children | 50f0ee69eb2b |
rev | line source |
---|---|
pascal@1258 | 1 # SliTaz package receipt. |
pascal@1258 | 2 |
pascal@1258 | 3 PACKAGE="matplotlib" |
pankso@4176 | 4 VERSION="0.99.1" |
pascal@1258 | 5 CATEGORY="graphics" |
pascal@1258 | 6 SHORT_DESC="2D plotting library for the Python." |
pascal@1258 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@1258 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@1258 | 9 WEB_SITE="http://matplotlib.sourceforge.net/" |
pascal@1258 | 10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
claudinei@3411 | 11 DEPENDS="python zlib libpng freetype python-numpy gtk+ expat xorg-libXau \ |
pascal@2609 | 12 xorg-libXcomposite xorg-libXcursor xorg-libXdmcp xorg-libXext xorg-libXfixes \ |
pascal@5004 | 13 xorg-libXinerama xorg-libXrandr xorg-libXrender pygtk gcc-lib-base" |
pankso@4176 | 14 BUILD_DEPENDS="python python-dev zlib-dev libpng-dev freetype-dev python-numpy \ |
pankso@4176 | 15 pygtk-dev" |
pascal@1258 | 16 |
pascal@1258 | 17 # Rules to configure and make the package. |
pascal@1258 | 18 compile_rules() |
pascal@1258 | 19 { |
pascal@1258 | 20 cd $src |
pankso@4176 | 21 cp -a ../stuff/setup.cfg . |
pascal@1258 | 22 python setup.py build |
pascal@1258 | 23 python setup.py install --root=$PWD/_pkg |
pascal@1258 | 24 } |
pascal@1258 | 25 |
pascal@1258 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1258 | 27 genpkg_rules() |
pascal@1258 | 28 { |
pascal@1258 | 29 cp -a $_pkg/usr $fs |
pascal@1258 | 30 } |
pascal@1258 | 31 |