wok-stable annotate matplotlib/receipt @ rev 3272
leafpad: Add chinese name and comment to leafpad.desktop
author | Chen Yufei <tsjz@ymail.com> |
---|---|
date | Tue Jun 02 12:41:43 2009 +0800 (2009-06-02) |
parents | e6e9c61e599b |
children | 23858f368eeb |
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@2609 | 11 DEPENDS="python zlib libpng freetype numpy gtk+ expat xorg-libXau \ |
pascal@2609 | 12 xorg-libXcomposite xorg-libXcursor xorg-libXdmcp xorg-libXext xorg-libXfixes \ |
pascal@2609 | 13 xorg-libXinerama xorg-libXrandr xorg-libXrender" |
pascal@1416 | 14 BUILD_DEPENDS="python python-dev zlib-dev libpng-dev freetype-dev numpy" |
pascal@1258 | 15 |
pascal@1258 | 16 # Rules to configure and make the package. |
pascal@1258 | 17 compile_rules() |
pascal@1258 | 18 { |
pascal@1258 | 19 cd $src |
pascal@1258 | 20 python setup.py build |
pascal@1258 | 21 python setup.py install --root=$PWD/_pkg |
pascal@1258 | 22 } |
pascal@1258 | 23 |
pascal@1258 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1258 | 25 genpkg_rules() |
pascal@1258 | 26 { |
pascal@1258 | 27 cp -a $_pkg/usr $fs |
pascal@1258 | 28 } |
pascal@1258 | 29 |