wok-current view openmpi/receipt @ rev 20006

Add: description.txt :: Following the standardization of packages.
author Leonardo Laporte <hackdorte@yandex.com>
date Wed Aug 02 03:46:40 2017 -0300 (2017-08-02)
parents 90785fe90d8c
children ff9bdf719828
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"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure --sysconfdir=/etc/${PACKAGE} \
21 --enable-mpi-f90 \
22 --libdir=/usr/lib/${pkgname} \
23 --with-threads=posix \
24 --enable-mpi-threads \
25 --enable-smp-locks \
26 --with-valgrind \
27 --enable-pretty-print-stacktrace \
28 --without-slurm \
29 --with-libltdl=/usr \
30 FC=/usr/bin/gfortran \
31 LDFLAGS='-Wl,-z,noexecstack' &&
32 make && make install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/lib/$PACKAGE
39 cp -a $install/etc $fs
40 cp -a $install/usr/bin $fs/usr
41 cp -a $install/usr/lib/*.so* $fs/usr/lib
42 cp -a $install/usr/lib/$PACKAGE/*.so* $fs/usr/lib/$PACKAGE
43 cp -a $install/usr/lib/mpi.mod $fs/usr/lib
44 }