wok view openmpi/receipt @ rev 14225

freetype*: up 2.4.11; fontconfig*: up 2.10.91; add freetype-infinality* and fontconfig-infinality; gobject-introspection: up 1.32.1; gtk+3*: up 3.4.4; add gtk3-engine-solidity, gtk3-engine-unico; pixman*: up 0.28.2; add libxklavier, lightdm*; slitaz-i18n: add all existing translations.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Mar 21 16:18:40 2013 +0000 (2013-03-21)
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 }