wok annotate openmpi/receipt @ rev 20921
updated flam3 and flam3-dev (3.0 -> 3.1.1)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Mar 01 17:44:13 2019 +0100 (2019-03-01) |
parents | 23c3aed67cd9 |
children | 534a7246f0c9 |
rev | line source |
---|---|
slaxemulator@8149 | 1 # SliTaz package receipt. |
slaxemulator@8149 | 2 |
slaxemulator@8149 | 3 PACKAGE="openmpi" |
slaxemulator@9291 | 4 VERSION="1.5.3" |
slaxemulator@8149 | 5 CATEGORY="development" |
slaxemulator@8149 | 6 SHORT_DESC="High performance message passing library (MPI)" |
slaxemulator@8149 | 7 MAINTAINER="slaxemulator@gmail.com" |
pascal@15601 | 8 LICENSE="BSD" |
slaxemulator@8149 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
slaxemulator@8149 | 10 WEB_SITE="http://www.open-mpi.org" |
slaxemulator@9290 | 11 WGET_URL="http://www.open-mpi.org/software/ompi/v${VERSION%.*}/downloads/$TARBALL" |
slaxemulator@8149 | 12 |
pascal@15601 | 13 DEPENDS="gcc gfortran libtool openssh valgrind" |
pascal@20572 | 14 BUILD_DEPENDS="$DEPENDS valgrind-dev file" |
pascal@15601 | 15 |
slaxemulator@8149 | 16 # Rules to configure and make the package. |
slaxemulator@8149 | 17 compile_rules() |
slaxemulator@8149 | 18 { |
slaxemulator@9090 | 19 ./configure --sysconfdir=/etc/${PACKAGE} \ |
slaxemulator@8149 | 20 --enable-mpi-f90 \ |
slaxemulator@8149 | 21 --libdir=/usr/lib/${pkgname} \ |
slaxemulator@8149 | 22 --with-threads=posix \ |
slaxemulator@8149 | 23 --enable-mpi-threads \ |
slaxemulator@8149 | 24 --enable-smp-locks \ |
slaxemulator@8149 | 25 --with-valgrind \ |
slaxemulator@8149 | 26 --enable-pretty-print-stacktrace \ |
slaxemulator@8149 | 27 --without-slurm \ |
slaxemulator@8149 | 28 --with-libltdl=/usr \ |
slaxemulator@8149 | 29 FC=/usr/bin/gfortran \ |
slaxemulator@9090 | 30 LDFLAGS='-Wl,-z,noexecstack' && |
slaxemulator@9090 | 31 make && make install |
slaxemulator@8149 | 32 } |
slaxemulator@8149 | 33 |
slaxemulator@8149 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@8149 | 35 genpkg_rules() |
slaxemulator@8149 | 36 { |
slaxemulator@9090 | 37 mkdir -p $fs/usr/lib/$PACKAGE |
pascal@15601 | 38 cp -a $install/etc $fs |
pascal@15601 | 39 cp -a $install/usr/bin $fs/usr |
pascal@15601 | 40 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@15601 | 41 cp -a $install/usr/lib/$PACKAGE/*.so* $fs/usr/lib/$PACKAGE |
pascal@15601 | 42 cp -a $install/usr/lib/mpi.mod $fs/usr/lib |
slaxemulator@8149 | 43 } |