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