wok-next annotate openmpi/receipt @ rev 21545
updated cgames (2.2 -> 2.2b)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Jun 21 17:35:44 2020 +0100 (2020-06-21) |
parents | 4a67f7e79846 |
children |
rev | line source |
---|---|
al@20456 | 1 # SliTaz package receipt v2. |
slaxemulator@8149 | 2 |
slaxemulator@8149 | 3 PACKAGE="openmpi" |
al@20529 | 4 VERSION="1.5.3" # current stable is 3.0.0 |
slaxemulator@8149 | 5 CATEGORY="development" |
slaxemulator@8149 | 6 SHORT_DESC="High performance message passing library (MPI)" |
al@21020 | 7 MAINTAINER="devel@slitaz.org" |
pascal@15601 | 8 LICENSE="BSD" |
al@20529 | 9 WEB_SITE="https://www.open-mpi.org/" |
al@20456 | 10 |
slaxemulator@8149 | 11 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
slaxemulator@9290 | 12 WGET_URL="http://www.open-mpi.org/software/ompi/v${VERSION%.*}/downloads/$TARBALL" |
slaxemulator@8149 | 13 |
al@20456 | 14 BUILD_DEPENDS="gcc gfortran libtool openssh valgrind valgrind-dev" |
al@21020 | 15 SPLIT="$PACKAGE-dev" |
pascal@15601 | 16 |
al@20456 | 17 compile_rules() { |
al@20456 | 18 ./configure \ |
al@20456 | 19 --sysconfdir=/etc/openmpi \ |
al@20456 | 20 --enable-mpi-f90 \ |
al@20456 | 21 --libdir=/usr/lib/openmpi \ |
al@20456 | 22 --with-threads=posix \ |
al@20456 | 23 --enable-mpi-threads \ |
al@20456 | 24 --enable-smp-locks \ |
al@20456 | 25 --with-valgrind \ |
al@20456 | 26 --enable-pretty-print-stacktrace \ |
al@20456 | 27 --without-slurm \ |
al@20456 | 28 --with-libltdl=/usr \ |
al@20456 | 29 FC=/usr/bin/gfortran \ |
al@20456 | 30 LDFLAGS='-Wl,-z,noexecstack' && |
al@20601 | 31 fix libtool && |
al@20534 | 32 make && |
al@20534 | 33 make install |
slaxemulator@8149 | 34 } |
slaxemulator@8149 | 35 |
al@20456 | 36 genpkg_rules() { |
al@20456 | 37 case $PACKAGE in |
al@20456 | 38 openmpi) |
al@20529 | 39 copy @std |
al@20456 | 40 DEPENDS="gcc gfortran libtool openssh valgrind" |
al@20456 | 41 ;; |
al@20456 | 42 *-dev) |
al@20456 | 43 copy @dev |
al@20456 | 44 ;; |
al@20456 | 45 esac |
slaxemulator@8149 | 46 } |