wok-next view matplotlib/receipt @ rev 20454

Choose between libpng16 and libpng12
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Feb 28 17:32:31 2018 +0200 (2018-02-28)
parents 16df76e1fc6a
children c022997c7a57
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 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 libpng16-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 }