wok-next view matplotlib/receipt @ rev 18291

Up slitaz-boot-scripts (409)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Aug 15 09:24:54 2015 +0200 (2015-08-15)
parents 23c3aed67cd9
children dd145c435e4b
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 cp -a $stuff/setup.cfg .
23 python setup.py build
24 python setup.py install --root=$DESTDIR
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 cp -a $install/usr $fs
31 }