wok-stable view openmpi/receipt @ rev 9490
Up: pygobject to 2.28.3.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Tue Apr 05 14:53:23 2011 +0000 (2011-04-05) |
parents | dda28a460f9a |
children |
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 }