wok-next view matplotlib/receipt @ rev 21059

Small updates
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Dec 04 13:43:21 2018 +0200 (2018-12-04)
parents d5aab818505e
children 5669e8b3be70
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 WEB_SITE="https://matplotlib.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 BUILD_DEPENDS="python python-dev zlib-dev libpng16-dev freetype-dev python-numpy \
15 python-pygtk-dev"
17 compile_rules() {
18 cp -a $stuff/setup.cfg .
20 python -B setup.py build &&
21 python -B setup.py install --root=$install
22 }
24 genpkg_rules() {
25 cp -a $install/usr $fs
26 DEPENDS="python zlib libpng16 freetype python-numpy gtk2 expat xorg-libXau \
27 xorg-libXcomposite xorg-libXcursor xorg-libXdmcp xorg-libXext \
28 xorg-libXfixes xorg-libXinerama xorg-libXrandr xorg-libXrender \
29 python-pygtk gcc-lib-base"
30 }