wok-next annotate openmpi/receipt @ rev 9090
Fixed openmpi.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Fri Mar 04 12:58:25 2011 +0000 (2011-03-04) |
parents | cd063b91a529 |
children | dda28a460f9a |
rev | line source |
---|---|
slaxemulator@8149 | 1 # SliTaz package receipt. |
slaxemulator@8149 | 2 |
slaxemulator@8149 | 3 PACKAGE="openmpi" |
slaxemulator@8149 | 4 VERSION="1.5.1" |
slaxemulator@8149 | 5 CATEGORY="development" |
slaxemulator@8149 | 6 SHORT_DESC="High performance message passing library (MPI)" |
slaxemulator@8149 | 7 MAINTAINER="slaxemulator@gmail.com" |
slaxemulator@8149 | 8 DEPENDS="gcc gfortran libtool openssh valgrind" |
slaxemulator@8149 | 9 BUILD_DEPENDS="$DEPENDS valgrind-dev" |
slaxemulator@8149 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
slaxemulator@8149 | 11 WEB_SITE="http://www.open-mpi.org" |
slaxemulator@8149 | 12 WGET_URL="http://www.open-mpi.org/software/ompi/v1.5/downloads/$TARBALL" |
slaxemulator@8149 | 13 |
slaxemulator@8149 | 14 # Rules to configure and make the package. |
slaxemulator@8149 | 15 compile_rules() |
slaxemulator@8149 | 16 { |
slaxemulator@8149 | 17 cd $src |
slaxemulator@9090 | 18 ./configure --sysconfdir=/etc/${PACKAGE} \ |
slaxemulator@8149 | 19 --enable-mpi-f90 \ |
slaxemulator@8149 | 20 --libdir=/usr/lib/${pkgname} \ |
slaxemulator@8149 | 21 --with-threads=posix \ |
slaxemulator@8149 | 22 --enable-mpi-threads \ |
slaxemulator@8149 | 23 --enable-smp-locks \ |
slaxemulator@8149 | 24 --with-valgrind \ |
slaxemulator@8149 | 25 --enable-pretty-print-stacktrace \ |
slaxemulator@8149 | 26 --without-slurm \ |
slaxemulator@8149 | 27 --with-libltdl=/usr \ |
slaxemulator@8149 | 28 FC=/usr/bin/gfortran \ |
slaxemulator@9090 | 29 LDFLAGS='-Wl,-z,noexecstack' && |
slaxemulator@9090 | 30 make && make install |
slaxemulator@8149 | 31 } |
slaxemulator@8149 | 32 |
slaxemulator@8149 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@8149 | 34 genpkg_rules() |
slaxemulator@8149 | 35 { |
slaxemulator@9090 | 36 mkdir -p $fs/usr/lib/$PACKAGE |
slaxemulator@8149 | 37 cp -a $_pkg/etc $fs |
slaxemulator@8149 | 38 cp -a $_pkg/usr/bin $fs/usr |
slaxemulator@9090 | 39 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
slaxemulator@8149 | 40 cp -a $_pkg/usr/lib/$PACKAGE/*.so* $fs/usr/lib/$PACKAGE |
slaxemulator@9090 | 41 cp -a $_pkg/usr/lib/mpi.mod $fs/usr/lib |
slaxemulator@8149 | 42 } |
slaxemulator@8149 | 43 |