wok annotate matplotlib/receipt @ rev 1377
Add: ncmpc (mpd ncurses client)
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Thu Sep 11 15:19:20 2008 +0000 (2008-09-11) |
parents | |
children | e6e9c61e599b |
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@1258 | 12 BUILD_DEPENDS="python python-dev zlib-dev libpng-dev freetype-devel 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 |