wok-next annotate 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 |
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" |
al@21020 | 6 SHORT_DESC="2D plotting library for the Python" |
pascal@1258 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15601 | 8 LICENSE="PSL BSD" |
al@21032 | 9 WEB_SITE="https://matplotlib.org/" |
al@21032 | 10 |
pascal@1258 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@1258 | 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@15601 | 13 |
al@20454 | 14 BUILD_DEPENDS="python python-dev zlib-dev libpng16-dev freetype-dev python-numpy \ |
al@20932 | 15 python-pygtk-dev" |
pascal@1258 | 16 |
al@21020 | 17 compile_rules() { |
slaxemulator@9700 | 18 cp -a $stuff/setup.cfg . |
al@21020 | 19 |
al@21020 | 20 python -B setup.py build && |
al@21020 | 21 python -B setup.py install --root=$install |
pascal@1258 | 22 } |
pascal@1258 | 23 |
al@21020 | 24 genpkg_rules() { |
pascal@15601 | 25 cp -a $install/usr $fs |
al@21032 | 26 DEPENDS="python zlib libpng16 freetype python-numpy gtk2 expat xorg-libXau \ |
al@21032 | 27 xorg-libXcomposite xorg-libXcursor xorg-libXdmcp xorg-libXext \ |
al@21032 | 28 xorg-libXfixes xorg-libXinerama xorg-libXrandr xorg-libXrender \ |
al@21032 | 29 python-pygtk gcc-lib-base" |
pascal@1258 | 30 } |