1 # Maintainer: (epsilom) Xavier Corredor <xavier.corredor.llano (a) gmail.com>
6 pkgdesc="PyNGL is a Python language module used to visualize scientific visualization and data analysis, with an emphasis on high quality 2D visualizations. A working knowledge of Python is assumed."
7 url="http://www.pyngl.ucar.edu"
8 license=('custom:PyNGL Source Code License')
10 depends=('ncl' 'cairo' 'pynio' 'python2' 'python-numpy')
11 makedepends=('glibc' 'gcc' 'gcc-fortran' 'zlib' 'libpng' 'libx11' 'freetype2')
13 source=("http://dl.dropbox.com/u/3383807/PyNGL-${pkgver}.tar.gz")
14 md5sums=('40a24e1ae871de32822d89545625dedf')
18 cd $srcdir/PyNGL-${pkgver}
22 export PNG_PREFIX=/usr/lib
23 export ZLIB_PREFIX=/usr/lib
24 #export CAIRO_PREFIX=/usr/lib
25 export FREETYPE_PREFIX=/usr/lib
27 export F2CLIBS=gfortran
28 export F2CLIBS_PREFIX=/usr/lib
30 python2 setup.py install --root=${pkgdir}