wok-6.x view openmpi/receipt @ rev 25266
gdk-pixbuf: added dependency libjpeg
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jul 15 13:56:48 2022 +0100 (2022-07-15) |
parents | ad8b9ff412d2 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="openmpi"
4 VERSION="4.1.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 bash 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 # bash is needed, because var+=val is not known to sh
28 export SHELL=/bin/bash
29 export CONFIG_SHELL=/bin/bash
31 # 4.1.3 unrecognized options:
32 # --enable-mpi-f90
33 # --with-threads
34 # --enable-mpi-threads
35 # --enable-smp-locks
37 ./configure \
38 --sysconfdir=/etc/${PACKAGE} \
39 --libdir=/usr/lib/${pkgname} \
40 --enable-mpi-fortran \
41 --with-valgrind \
42 --enable-pretty-print-stacktrace \
43 --without-slurm \
44 --with-libltdl=/usr \
45 FC=/usr/bin/gfortran \
46 LDFLAGS='-Wl,-z,noexecstack' &&
47 make &&
48 make install
49 }
51 # Rules to gen a SliTaz package suitable for Tazpkg.
52 genpkg_rules()
53 {
54 mkdir -p $fs/usr/lib/$PACKAGE
56 cp -a $install/etc $fs
57 cp -a $install/usr/bin $fs/usr
58 cp -a $install/usr/lib/*.so* $fs/usr/lib
59 cp -a $install/usr/lib/$PACKAGE/*.so* $fs/usr/lib/$PACKAGE
60 cp -a $install/usr/lib/mpi.mod $fs/usr/lib
61 }