1 # Contributor: Dominik Fuchs <dominik.fuchs@wur.nl>
6 pkgdesc="HPGL stands for 'High Performance Geostatistics Library'. The goal of this project is to provide free-to-use and modify high-perfomance geostatistical algorithms (such as Kriging, CoKriging, Sequential Simulation, etc)."
9 url="http://hpgl.sourceforge.net/"
10 depends=('python-numpy' 'python-scipy')
11 makedepends=('setuptools')
13 source=(http://downloads.sourceforge.net/project/hpgl/hpgl/0.9.9/hpgl-bsd-0.9.9_src.tar.gz)
14 md5sums=('a3f17cc720f662ea9d8662c1380b6b29')
16 conflicts=('hpgl-git')
20 cd "$srcdir/hpgl/CLAPACK-3.1.1.1"
22 mv "$srcdir/hpgl/CLAPACK-3.1.1.1/F2CLIBS/libf2c.a" "$srcdir/hpgl/CLAPACK-3.1.1.1/libf2c.a"
24 # configure & compile HPGL
29 # assemble package & install
30 mkdir ${srcdir}/hpgl/temp/geo_bsd
31 cp geo_bsd/*.py ${srcdir}/hpgl/temp/geo_bsd
32 cp geo_bsd/*.so ${srcdir}/hpgl/temp/geo_bsd
33 cp setup.py ${srcdir}/hpgl/temp/
34 cd ${srcdir}/hpgl/temp/
35 python setup.py install --prefix=/usr --root="$pkgdir" || return 1