wok-current annotate matplotlib/receipt @ rev 2254
Add squirrelmail-legend
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Feb 15 22:51:24 2009 +0000 (2009-02-15) |
parents | e50bf461524d |
children | 180020af2ba6 |
rev | line source |
---|---|
pascal@1258 | 1 # SliTaz package receipt. |
pascal@1258 | 2 |
pascal@1258 | 3 PACKAGE="matplotlib" |
pascal@1258 | 4 VERSION="0.98.3" |
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" |
pascal@1258 | 11 DEPENDS="python zlib libpng freetype numpy" |
pascal@1416 | 12 BUILD_DEPENDS="python python-dev zlib-dev libpng-dev freetype-dev numpy" |
pascal@1258 | 13 |
pascal@1258 | 14 # Rules to configure and make the package. |
pascal@1258 | 15 compile_rules() |
pascal@1258 | 16 { |
pascal@1258 | 17 cd $src |
pascal@1258 | 18 python setup.py build |
pascal@1258 | 19 python setup.py install --root=$PWD/_pkg |
pascal@1258 | 20 } |
pascal@1258 | 21 |
pascal@1258 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1258 | 23 genpkg_rules() |
pascal@1258 | 24 { |
pascal@1258 | 25 cp -a $_pkg/usr $fs |
pascal@1258 | 26 } |
pascal@1258 | 27 |