wok annotate openmpi/receipt @ rev 17355

memtester: arm
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Nov 16 15:10:15 2014 +0100 (2014-11-16)
parents 90785fe90d8c
children ff9bdf719828
rev   line source
slaxemulator@8149 1 # SliTaz package receipt.
slaxemulator@8149 2
slaxemulator@8149 3 PACKAGE="openmpi"
slaxemulator@9291 4 VERSION="1.5.3"
slaxemulator@8149 5 CATEGORY="development"
slaxemulator@8149 6 SHORT_DESC="High performance message passing library (MPI)"
slaxemulator@8149 7 MAINTAINER="slaxemulator@gmail.com"
pascal@15601 8 LICENSE="BSD"
slaxemulator@8149 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
slaxemulator@8149 10 WEB_SITE="http://www.open-mpi.org"
slaxemulator@9290 11 WGET_URL="http://www.open-mpi.org/software/ompi/v${VERSION%.*}/downloads/$TARBALL"
slaxemulator@8149 12
pascal@15601 13 DEPENDS="gcc gfortran libtool openssh valgrind"
pascal@15601 14 BUILD_DEPENDS="$DEPENDS valgrind-dev"
pascal@15601 15
slaxemulator@8149 16 # Rules to configure and make the package.
slaxemulator@8149 17 compile_rules()
slaxemulator@8149 18 {
slaxemulator@8149 19 cd $src
slaxemulator@9090 20 ./configure --sysconfdir=/etc/${PACKAGE} \
slaxemulator@8149 21 --enable-mpi-f90 \
slaxemulator@8149 22 --libdir=/usr/lib/${pkgname} \
slaxemulator@8149 23 --with-threads=posix \
slaxemulator@8149 24 --enable-mpi-threads \
slaxemulator@8149 25 --enable-smp-locks \
slaxemulator@8149 26 --with-valgrind \
slaxemulator@8149 27 --enable-pretty-print-stacktrace \
slaxemulator@8149 28 --without-slurm \
slaxemulator@8149 29 --with-libltdl=/usr \
slaxemulator@8149 30 FC=/usr/bin/gfortran \
slaxemulator@9090 31 LDFLAGS='-Wl,-z,noexecstack' &&
slaxemulator@9090 32 make && make install
slaxemulator@8149 33 }
slaxemulator@8149 34
slaxemulator@8149 35 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@8149 36 genpkg_rules()
slaxemulator@8149 37 {
slaxemulator@9090 38 mkdir -p $fs/usr/lib/$PACKAGE
pascal@15601 39 cp -a $install/etc $fs
pascal@15601 40 cp -a $install/usr/bin $fs/usr
pascal@15601 41 cp -a $install/usr/lib/*.so* $fs/usr/lib
pascal@15601 42 cp -a $install/usr/lib/$PACKAGE/*.so* $fs/usr/lib/$PACKAGE
pascal@15601 43 cp -a $install/usr/lib/mpi.mod $fs/usr/lib
slaxemulator@8149 44 }