1 # Maintainer: Kibeom Kim <kkb110@gmail.com>
4 # Please blender, stick to one way of naming your versions
7 pkgdesc="GetFEM++ is basically a generic C++ finite element library."
9 url="http://download.gna.org/getfem/html/homepage/"
11 depends=('python2-numpy' 'scilab' 'openmpi' 'boost' 'muparser' 'qhull')
14 source=("http://download.gna.org/getfem/stable/getfem-4.1.1.tar.gz" "_getfem.so_linking_fix.patch")
15 md5sums=('2a9c9948db3522abc4d19f6074c84c63'
16 'a24df9ec07dde5495e92d82b9ca92588')
20 cd $srcdir/getfem-$pkgver
22 # ./configure --enable-matlab --enable-python --enable-scilab --with-pic --enable-paralevel=2 --prefix=$pkgdir
24 #$for example: ./configure BLAS_LIBS="-L/usr/lib/sse2/atlas/ -lblas"
25 # --enable-superlu turn on/off SuperLU support
26 # --enable-dd enable the use of the qd library (some computation
27 # will be done with double-double precision, usefull
28 # for high order FEMs)
29 # --enable-qd enable the use of the qd library (some computation
30 # will be done with quad-double precision, usefull for
32 # --enable-mumps enable the use of the MUMPS library. A direct solver
33 # for large sparse linear systems.
34 # --enable-paralevel=level
35 # enable the parallel version fo Getfem (use MPI and
38 # ./configure --enable-matlab --enable-matlab-rpc --enable-python --enable-scilab --enable-muparser --enable-qhull --enable-boost --with-pic --prefix=$pkgdir
39 ./configure --enable-python --enable-muparser --enable-qhull --with-pic --prefix=/
40 patch -p2 < ../../_getfem.so_linking_fix.patch
42 # install -d -m755 $pkgdir/usr/share/blender
44 # install -Dm755 "$srcdir/blender.sh" "$pkgdir/usr/bin/blender"
45 # cp -r blender ${_pkgver} "$pkgdir/usr/share/blender"
48 # install -m755 -d "$pkgdir/usr/share/icons"
49 # cp -r icons "$pkgdir/usr/share/icons/hicolor"
51 # # Stolen from blender in extra
52 # install -Dm644 $srcdir/blender.desktop $pkgdir/usr/share/applications/blender.desktop
55 cd $srcdir/getfem-$pkgver
56 make install DESTDIR=$pkgdir/usr