wok view openmpi/receipt @ rev 22344

Remove squirrelmail-en_GB
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Nov 17 16:39:12 2019 +0100 (2019-11-17)
parents ff9bdf719828
children 6c6bce6aa9f9
line source
1 # SliTaz package receipt.
3 PACKAGE="openmpi"
4 VERSION="4.0.1"
5 CATEGORY="development"
6 SHORT_DESC="High performance message passing library (MPI)."
7 MAINTAINER="slaxemulator@gmail.com"
8 LICENSE="BSD"
9 WEB_SITE="https://www.open-mpi.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="${WEB_SITE}software/ompi/v${VERSION%.*}/downloads/$TARBALL"
14 DEPENDS="gcc gfortran libtool openssh valgrind"
15 BUILD_DEPENDS="$DEPENDS valgrind-dev file"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 ./configure \
21 --sysconfdir=/etc/${PACKAGE} \
22 --enable-mpi-f90 \
23 --libdir=/usr/lib/${pkgname} \
24 --with-threads=posix \
25 --enable-mpi-threads \
26 --enable-smp-locks \
27 --with-valgrind \
28 --enable-pretty-print-stacktrace \
29 --without-slurm \
30 --with-libltdl=/usr \
31 FC=/usr/bin/gfortran \
32 LDFLAGS='-Wl,-z,noexecstack' &&
33 make &&
34 make install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr/lib/$PACKAGE
42 cp -a $install/etc $fs
43 cp -a $install/usr/bin $fs/usr
44 cp -a $install/usr/lib/*.so* $fs/usr/lib
45 cp -a $install/usr/lib/$PACKAGE/*.so* $fs/usr/lib/$PACKAGE
46 cp -a $install/usr/lib/mpi.mod $fs/usr/lib
47 }