1 # Maintainer: Michele Mocciola <mickele>
6 pkgdesc="SALOME provides a generic platform for Pre and Post-Processing for numerical simulation. KERNEL Module."
7 url="http://www.salome-platform.org"
8 depends=('python' 'python-numpy' 'boost' 'omniorb' 'omniorbpy' 'omninotify' 'swig' 'hdf5' 'python-numpy' 'graphviz' 'libxml2' 'cppunit' 'sed')
9 makedepends=('gcc' 'gcc-fortran' 'automake' 'autoconf' 'libtool' 'make' 'doxygen' 'docutils' 'coreutils')
10 arch=('i686' 'x86_64')
14 source=("http://files.opencascade.com/Salome/Salome${pkgver}/src${pkgver}.tar.gz" "${pkgname}.profile")
17 _source=src${pkgver}/KERNEL_SRC_${pkgver}
18 _installdir=/opt/salome/kernel
23 cd ${srcdir}/${_source} || return 1
26 ./clean_configure || return 1
27 ./build_configure || return 1
29 ./configure --prefix=${_installdir} \
30 --with-python-site=${_installdir}/lib/python-${_pythonver}/site-packages/salome \
31 --with-python-site-exec=${_installdir}/lib/python-${_pythonver}/site-packages/salome \
33 --enable-production || return 1
39 cd ${srcdir}/${_source} || return 1
41 make DESTDIR="${pkgdir}" install || return 1
43 install -D -m755 "${srcdir}/${pkgname}.profile" \
44 "${pkgdir}/etc/profile.d/${pkgname}.sh" || return 1
47 md5sums=('ec363b2ff2dbdb889c973e9e19b2970f'
48 'a2c626a103d977cc03108af2030a04e8')