wok diff matplotlib/receipt @ rev 1258

Add numpy & matplotlib
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Aug 13 16:09:57 2008 +0000 (2008-08-13)
parents
children e6e9c61e599b
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/matplotlib/receipt	Wed Aug 13 16:09:57 2008 +0000
     1.3 @@ -0,0 +1,27 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="matplotlib"
     1.7 +VERSION="0.98.3"
     1.8 +CATEGORY="graphics"
     1.9 +SHORT_DESC="2D plotting library for the Python."
    1.10 +MAINTAINER="pascal.bellard@slitaz.org"
    1.11 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.12 +WEB_SITE="http://matplotlib.sourceforge.net/"
    1.13 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.14 +DEPENDS="python zlib libpng freetype numpy"
    1.15 +BUILD_DEPENDS="python python-dev zlib-dev libpng-dev freetype-devel numpy"
    1.16 +
    1.17 +# Rules to configure and make the package.
    1.18 +compile_rules()
    1.19 +{
    1.20 +	cd $src
    1.21 +	python setup.py build
    1.22 +	python setup.py install --root=$PWD/_pkg
    1.23 +}
    1.24 +
    1.25 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.26 +genpkg_rules()
    1.27 +{
    1.28 +	cp -a $_pkg/usr $fs
    1.29 +}
    1.30 +