wok annotate openmpi/receipt @ rev 22163
updated xl2tpd (1.2.4 -> 1.3.15)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Nov 07 17:56:39 2019 +0100 (2019-11-07) |
parents | ff9bdf719828 |
children | 6c6bce6aa9f9 |
rev | line source |
---|---|
slaxemulator@8149 | 1 # SliTaz package receipt. |
slaxemulator@8149 | 2 |
slaxemulator@8149 | 3 PACKAGE="openmpi" |
Hans-G?nter@21634 | 4 VERSION="4.0.1" |
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" |
pascal@20572 | 15 BUILD_DEPENDS="$DEPENDS valgrind-dev file" |
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 } |