wok-6.x view matplotlib/receipt @ rev 19224

Add bsc
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jun 21 15:47:21 2016 +0200 (2016-06-21)
parents 23c3aed67cd9
children 94368a89899f
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 }