wok view openmpi/receipt @ rev 8588
Declare source tarball of mplayer-codecs
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Mon Feb 14 03:54:53 2011 +0100 (2011-02-14) |
parents | |
children | a5054134e5b5 |
line source
1 # SliTaz package receipt.
3 PACKAGE="openmpi"
4 VERSION="1.5.1"
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/v1.5/downloads/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure --prefix=/usr \
19 --sysconfdir=/etc/${PACKAGE} \
20 --mandir=/usr/share/man \
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 $CONFIGURE_ARGS &&
33 make -j 4 && make DESTDIR=$PWD/_pkg install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr/lib/$PACKAGE/$PACKAGE
40 cp -a $_pkg/etc $fs
41 cp -a $_pkg/usr/bin $fs/usr
42 cp -a $_pkg/usr/lib/$PACKAGE/*.so* $fs/usr/lib/$PACKAGE
43 cp -a $_pkg/usr/lib/$PACKAGE/$PACKAGE/*.so* $fs/usr/lib/$PACKAGE/$PACKAGE
44 cp -a $_pkg/usr/lib/$PACKAGE/mpi.mod $fs/usr/lib/$PACKAGE
45 }