wok-next view openmpi/receipt @ rev 20553

Up cookutils (1045), tazpkg (963)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Apr 06 13:36:51 2018 +0300 (2018-04-06)
parents 555cf3b9f1ff
children 4a67f7e79846
line source
1 # SliTaz package receipt v2.
3 PACKAGE="openmpi"
4 VERSION="1.5.3" # current stable is 3.0.0
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="http://www.open-mpi.org/software/ompi/v${VERSION%.*}/downloads/$TARBALL"
14 BUILD_DEPENDS="gcc gfortran libtool openssh valgrind valgrind-dev"
15 SPLIT="openmpi-dev"
17 compile_rules() {
18 ./configure \
19 --sysconfdir=/etc/openmpi \
20 --enable-mpi-f90 \
21 --libdir=/usr/lib/openmpi \
22 --with-threads=posix \
23 --enable-mpi-threads \
24 --enable-smp-locks \
25 --with-valgrind \
26 --enable-pretty-print-stacktrace \
27 --without-slurm \
28 --with-libltdl=/usr \
29 FC=/usr/bin/gfortran \
30 LDFLAGS='-Wl,-z,noexecstack' &&
31 make &&
32 make install
33 }
35 genpkg_rules() {
36 case $PACKAGE in
37 openmpi)
38 copy @std
39 DEPENDS="gcc gfortran libtool openssh valgrind"
40 ;;
41 *-dev)
42 copy @dev
43 ;;
44 esac
45 }