wok-next annotate 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 |
rev | line source |
---|---|
pascal@1258 | 1 # SliTaz package receipt. |
pascal@1258 | 2 |
pascal@1258 | 3 PACKAGE="matplotlib" |
slaxemulator@7198 | 4 VERSION="1.0.0" |
pascal@1258 | 5 CATEGORY="graphics" |
pascal@1258 | 6 SHORT_DESC="2D plotting library for the Python." |
pascal@1258 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15601 | 8 LICENSE="PSL BSD" |
pascal@1258 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@1258 | 10 WEB_SITE="http://matplotlib.sourceforge.net/" |
pascal@1258 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@15601 | 12 |
al@21017 | 13 DEPENDS="python zlib libpng16 freetype python-numpy gtk2 expat xorg-libXau \ |
pascal@2609 | 14 xorg-libXcomposite xorg-libXcursor xorg-libXdmcp xorg-libXext xorg-libXfixes \ |
al@20932 | 15 xorg-libXinerama xorg-libXrandr xorg-libXrender python-pygtk gcc-lib-base" |
al@20454 | 16 BUILD_DEPENDS="python python-dev zlib-dev libpng16-dev freetype-dev python-numpy \ |
al@20932 | 17 python-pygtk-dev" |
pascal@1258 | 18 |
pascal@1258 | 19 # Rules to configure and make the package. |
pascal@1258 | 20 compile_rules() |
pascal@1258 | 21 { |
slaxemulator@9700 | 22 cp -a $stuff/setup.cfg . |
pascal@1258 | 23 python setup.py build |
pascal@15601 | 24 python setup.py install --root=$DESTDIR |
pascal@1258 | 25 } |
pascal@1258 | 26 |
pascal@1258 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1258 | 28 genpkg_rules() |
pascal@1258 | 29 { |
pascal@15601 | 30 cp -a $install/usr $fs |
pascal@1258 | 31 } |