wok-6.x annotate openmpi/receipt @ rev 23350

updated perl-io-socket-inet6 (2.56 -> 2.72)
author Hans-G?nter Theisgen
date Tue Mar 31 09:47:36 2020 +0100 (2020-03-31)
parents 534a7246f0c9
children ad8b9ff412d2
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
slaxemulator@8149 17 # Rules to configure and make the package.
slaxemulator@8149 18 compile_rules()
slaxemulator@8149 19 {
Hans-G?nter@21634 20 ./configure \
Hans-G?nter@21634 21 --sysconfdir=/etc/${PACKAGE} \
Hans-G?nter@21634 22 --enable-mpi-f90 \
Hans-G?nter@21634 23 --libdir=/usr/lib/${pkgname} \
Hans-G?nter@21634 24 --with-threads=posix \
Hans-G?nter@21634 25 --enable-mpi-threads \
Hans-G?nter@21634 26 --enable-smp-locks \
Hans-G?nter@21634 27 --with-valgrind \
Hans-G?nter@21634 28 --enable-pretty-print-stacktrace \
Hans-G?nter@21634 29 --without-slurm \
Hans-G?nter@21634 30 --with-libltdl=/usr \
Hans-G?nter@21634 31 FC=/usr/bin/gfortran \
Hans-G?nter@21634 32 LDFLAGS='-Wl,-z,noexecstack' &&
Hans-G?nter@21634 33 make &&
Hans-G?nter@21634 34 make install
slaxemulator@8149 35 }
slaxemulator@8149 36
slaxemulator@8149 37 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@8149 38 genpkg_rules()
slaxemulator@8149 39 {
slaxemulator@9090 40 mkdir -p $fs/usr/lib/$PACKAGE
Hans-G?nter@21634 41
Hans-G?nter@21634 42 cp -a $install/etc $fs
Hans-G?nter@21634 43 cp -a $install/usr/bin $fs/usr
Hans-G?nter@21634 44 cp -a $install/usr/lib/*.so* $fs/usr/lib
Hans-G?nter@21634 45 cp -a $install/usr/lib/$PACKAGE/*.so* $fs/usr/lib/$PACKAGE
Hans-G?nter@21634 46 cp -a $install/usr/lib/mpi.mod $fs/usr/lib
slaxemulator@8149 47 }