wok view openmpi/receipt @ rev 12309

Add: linux-arm-api-headers (Part of ARM cross toolchain)
author Christophe Lincoln <pankso@slitaz.org>
date Tue Apr 17 12:33:55 2012 +0200 (2012-04-17)
parents dda28a460f9a
children 23c3aed67cd9
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 DEPENDS="gcc gfortran libtool openssh valgrind"
9 BUILD_DEPENDS="$DEPENDS valgrind-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://www.open-mpi.org"
12 WGET_URL="http://www.open-mpi.org/software/ompi/v${VERSION%.*}/downloads/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure --sysconfdir=/etc/${PACKAGE} \
19 --enable-mpi-f90 \
20 --libdir=/usr/lib/${pkgname} \
21 --with-threads=posix \
22 --enable-mpi-threads \
23 --enable-smp-locks \
24 --with-valgrind \
25 --enable-pretty-print-stacktrace \
26 --without-slurm \
27 --with-libltdl=/usr \
28 FC=/usr/bin/gfortran \
29 LDFLAGS='-Wl,-z,noexecstack' &&
30 make && make install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/lib/$PACKAGE
37 cp -a $_pkg/etc $fs
38 cp -a $_pkg/usr/bin $fs/usr
39 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
40 cp -a $_pkg/usr/lib/$PACKAGE/*.so* $fs/usr/lib/$PACKAGE
41 cp -a $_pkg/usr/lib/mpi.mod $fs/usr/lib
42 }