wok-next view matplotlib/receipt @ rev 21017
Some maintenance
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Oct 16 16:46:05 2018 +0300 (2018-10-16) |
parents | c022997c7a57 |
children | d5aab818505e |
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 libpng16 freetype python-numpy gtk2 expat xorg-libXau \
14 xorg-libXcomposite xorg-libXcursor xorg-libXdmcp xorg-libXext xorg-libXfixes \
15 xorg-libXinerama xorg-libXrandr xorg-libXrender python-pygtk gcc-lib-base"
16 BUILD_DEPENDS="python python-dev zlib-dev libpng16-dev freetype-dev python-numpy \
17 python-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 }