updated on Fri Jan 20 12:03:34 UTC 2012
[aur-mirror.git] / nco / PKGBUILD
blob129aa1644db7f9f149bb8de6dee6bca85b821283
1 # Contributor: Graziano Giuliani <giuliani@lamma.rete.toscana.it>
2 # Maintainer:  Frank Schäffer <frank.schaeffer@o2online.de>
3 pkgname=nco
4 pkgver=4.0.8
5 pkgrel=1
6 pkgdesc="netCDF Operators allow users to manipulate and analyse data stored in NetCDF files"
7 url="http://nco.sourceforge.net/"
8 license="GPL"
9 depends=('netcdf' 'udunits' 'gsl' )
10 makedepends=('netcdf' 'udunits' 'gsl' 'antlr2')
11 arch=('i686' 'x86_64')
12 options=('!libtool')
13 source=(http://nco.sourceforge.net/src/${pkgname}-${pkgver}.tar.gz)
14 md5sums=('edd1e5dab719b4bfc2cd07ec840f4f1d')
16 build() {
17     cd "$srcdir"/$pkgname-$pkgver
18     ./configure --prefix=/usr \
19                 --enable-netcdf-4 \
20                 --enable-gsl \
21                 --enable-ncoxx \
22                 --enable-udunits2 \
23                 --enable-optimize-custom \
24                 || return 1
25     make || return 1
28 package() {
29     cd "$srcdir"/$pkgname-$pkgver
30     make DESTDIR="$pkgdir" install install-html || return 1
32 # vim:set ts=4 sw=4 et: