wok annotate openmpi/receipt @ rev 24867

updated lvm2, lvm2-dev, libdevmapper and libdevmapper-dev (2.03.08 -> 2.03.15)
author Hans-G?nter Theisgen
date Wed Mar 30 17:27:13 2022 +0100 (2022-03-30)
parents 6c6bce6aa9f9
children c8f5c3a4bd86
rev   line source
slaxemulator@8149 1 # SliTaz package receipt.
slaxemulator@8149 2
slaxemulator@8149 3 PACKAGE="openmpi"
Hans-G?nter@23265 4 VERSION="4.0.3"
slaxemulator@8149 5 CATEGORY="development"
Hans-G?nter@21634 6 SHORT_DESC="High performance message passing library (MPI)."
slaxemulator@8149 7 MAINTAINER="slaxemulator@gmail.com"
pascal@15601 8 LICENSE="BSD"
Hans-G?nter@21634 9 WEB_SITE="https://www.open-mpi.org/"
Hans-G?nter@21634 10
slaxemulator@8149 11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
Hans-G?nter@21634 12 WGET_URL="${WEB_SITE}software/ompi/v${VERSION%.*}/downloads/$TARBALL"
slaxemulator@8149 13
pascal@15601 14 DEPENDS="gcc gfortran libtool openssh valgrind"
Hans-G?nter@23265 15 BUILD_DEPENDS="$DEPENDS file valgrind-dev"
pascal@15601 16
pascal@24433 17 # What is the latest version available today?
pascal@24433 18 current_version()
pascal@24433 19 {
pascal@24433 20 wget -O - $WEB_SITE 2>/dev/null | \
pascal@24433 21 sed '/Open MPI v[0-9\.]* released/!d;s|.*Open MPI v||;s| released.*||;q'
pascal@24433 22 }
pascal@24433 23
slaxemulator@8149 24 # Rules to configure and make the package.
slaxemulator@8149 25 compile_rules()
slaxemulator@8149 26 {
Hans-G?nter@21634 27 ./configure \
Hans-G?nter@21634 28 --sysconfdir=/etc/${PACKAGE} \
Hans-G?nter@21634 29 --enable-mpi-f90 \
Hans-G?nter@21634 30 --libdir=/usr/lib/${pkgname} \
Hans-G?nter@21634 31 --with-threads=posix \
Hans-G?nter@21634 32 --enable-mpi-threads \
Hans-G?nter@21634 33 --enable-smp-locks \
Hans-G?nter@21634 34 --with-valgrind \
Hans-G?nter@21634 35 --enable-pretty-print-stacktrace \
Hans-G?nter@21634 36 --without-slurm \
Hans-G?nter@21634 37 --with-libltdl=/usr \
Hans-G?nter@21634 38 FC=/usr/bin/gfortran \
Hans-G?nter@21634 39 LDFLAGS='-Wl,-z,noexecstack' &&
Hans-G?nter@21634 40 make &&
Hans-G?nter@21634 41 make install
slaxemulator@8149 42 }
slaxemulator@8149 43
slaxemulator@8149 44 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@8149 45 genpkg_rules()
slaxemulator@8149 46 {
slaxemulator@9090 47 mkdir -p $fs/usr/lib/$PACKAGE
Hans-G?nter@21634 48
Hans-G?nter@21634 49 cp -a $install/etc $fs
Hans-G?nter@21634 50 cp -a $install/usr/bin $fs/usr
Hans-G?nter@21634 51 cp -a $install/usr/lib/*.so* $fs/usr/lib
Hans-G?nter@21634 52 cp -a $install/usr/lib/$PACKAGE/*.so* $fs/usr/lib/$PACKAGE
Hans-G?nter@21634 53 cp -a $install/usr/lib/mpi.mod $fs/usr/lib
slaxemulator@8149 54 }