1 # Contributor: Ralf Mueller <stark.dreamdetective@gmail.com>
4 pkgname=${pkg}${flavour}
7 pkgdesc="CDO is a collection of command line Operators to manipulate and analyse Climate model Data. Supported data formats are GRIB, netCDF, SERVICE, EXTRA and IEG. There are more than 400 operators available."
8 url="http://code.zmaw.de/projetcs/cdo"
10 depends=('netcdf' 'hdf5' 'proj')
11 makedepends=('netcdf' 'hdf5' 'proj')
18 source=(https://code.zmaw.de/attachments/download/307/${pkg}-${pkgver}.tar.gz)
19 md5sums=('fe86f85725ba596a46e8b7fe16b74816')
22 cd $startdir/src/$pkg-$pkgver/
23 ./configure --prefix=/usr --with-netcdf=/usr --with-hdf5=/usr CFLAGS=-fopenmp
25 make DESTDIR=$startdir/pkg install || return 1
26 rm -f $startdir/pkg/usr/bin/cdotest