#Maintainer: Shador pkgname=matplotlib pkgver=0.99.1.2 pkgrel=1ab arch=i486 source=('http://downloads.sourceforge.net/project/matplotlib/matplotlib/matplotlib-0.99.1/matplotlib-0.99.1.2.tar.gz') sourcetemplate="http://gaia.homelinux.org/salix/packages/$pkgname/$pkgver/" docs=("readme.txt" "install" "interactive" "changelog" "todo" "known_bugs" "pkg-info") url='http://matplotlib.sourceforge.net/' slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "$pkgname (Python 2D plotting library)" "matplotlib is a python 2D plotting library which produces publication" "quality figures in a variety of hardcopy formats and interactive" "environments across platforms. matplotlib can be used in python" "scripts, the python and ipython shell (ala matlab or mathematica)," "web application servers, and six graphical user interface toolkits." "" "matplotlib tries to make easy things easy and hard things possible." "You can generate plots, histograms, power spectra, bar charts," "errorcharts, scatterplots, etc, with just a few lines of code." ) build() { cd $startdir/src/$pkgname-0.99.1.1 python setup.py build python setup.py install --prefix=/usr --root=$startdir/pkg || return 1 install -vd $startdir/pkg/usr/doc/$pkgname-$pkgver/ cp -r examples license $startdir/pkg/usr/doc/$pkgname-$pkgver/ }