updated on Thu Jan 19 12:17:07 UTC 2012
[aur-mirror.git] / vis5d+ / PKGBUILD
blobd7cd722d89db011cb3166de1b998e98c8b073a9b
1 # Contributor: dibblethewrecker dibblethewrecker.at.jiwe.dot.org
2 # Maintainer: (epsilom) Xavier Corredor <xavier.corredor.llano (a) gmail.com>
4 pkgname=vis5d+
5 pkgver=1.2.1
6 pkgrel=6
7 pkgdesc="A system for interactive visualization of large 5-D gridded data sets"
8 url="http://vis5d.sourceforge.net/"
9 license=("GPL")
10 arch=('i686' 'x86_64')
11 depends=('netcdf' 'xorg-server' 'mesa')
12 source=("http://downloads.sourceforge.net/vis5d/$pkgname-$pkgver.tar.bz2" "patch")
13 md5sums=('15a8b09ba8ae57b753e724d0825e40c1'
14          'a1d73b709e03ca09fe2ce5954ac4f914')
16 build() {
17   cd $srcdir/$pkgname-$pkgver
18   patch -Np1 -i $srcdir/patch
19   FC=gfortran F77=gfortran CFLAGS="$CFLAGS -fno-range-check" FFLAGS="$FFLAGS -fno-range-check"
20   ./configure --prefix=/usr --with-netcdf=/usr/lib/ --with-x V5D_LIBS_AUX="/usr/include/" \
21   --with-Tcl_Eval=yes --with-mesa --enable-threads #--enable-gtk #--with-mixkit=/usr/lib
22   make || return 1
23   make DESTDIR=$pkgdir install