Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on May 27th, 2011  |  syntax: None  |  size: 0.96 KB  |  views: 53  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. # Contributor: dibblethewrecker dibblethewrecker.at.jiwe.dot.org
  2. # Maintainer: (epsilom) Xavier Corredor <xavier.corredor.llano (a) gmail.com>
  3.  
  4. pkgname=vis5d+
  5. pkgver=1.2.1
  6. pkgrel=5
  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. ")
  14. md5sums=('15a8b09ba8ae57b753e724d0825e40c1'
  15.          'a1d73b709e03ca09fe2ce5954ac4f914')
  16.  
  17. build() {
  18.   cd $srcdir/$pkgname-$pkgver
  19.   patch -Np1 -i $srcdir/patch
  20.   FC=gfortran F77=gfortran CFLAGS="$CFLAGS -fno-range-check" FFLAGS="$FFLAGS -fn
  21. o-range-check"
  22.   ./configure --prefix=/usr --with-netcdf=/usr/lib/ --with-x V5D_LIBS_AUX="/usr/
  23. include/" \
  24.   --with-Tcl_Eval=yes --with-mesa --enable-threads #--enable-gtk #--with-mixkit=
  25. /usr/lib
  26.   make || return 1
  27.   make DESTDIR=$pkgdir install
  28. }