wok-current view matplotlib/receipt @ rev 16328
mercurial: fix receipt (Thanks Alexandr) and ARM up slitaz-configs
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu Apr 10 19:44:57 2014 +0200 (2014-04-10) |
parents | d1768332cee0 |
children | 16df76e1fc6a |
line source
1 # SliTaz package receipt.
3 PACKAGE="matplotlib"
4 VERSION="1.0.0"
5 CATEGORY="graphics"
6 SHORT_DESC="2D plotting library for the Python."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="PSL BSD"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://matplotlib.sourceforge.net/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 DEPENDS="python zlib libpng freetype python-numpy gtk+ expat xorg-libXau \
14 xorg-libXcomposite xorg-libXcursor xorg-libXdmcp xorg-libXext xorg-libXfixes \
15 xorg-libXinerama xorg-libXrandr xorg-libXrender pygtk gcc-lib-base"
16 BUILD_DEPENDS="python python-dev zlib-dev libpng-dev freetype-dev python-numpy \
17 pygtk-dev"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 cd $src
23 cp -a $stuff/setup.cfg .
24 python setup.py build
25 python setup.py install --root=$DESTDIR
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 cp -a $install/usr $fs
32 }