wok-current view openmpi/receipt @ rev 20980

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