wok-stable annotate openmpi/receipt @ rev 8606
Fixed assaultcube again.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Mon Feb 14 04:26:30 2011 +0000 (2011-02-14) |
parents | |
children | a5054134e5b5 |
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@8149 | 18 ./configure --prefix=/usr \ |
slaxemulator@8149 | 19 --sysconfdir=/etc/${PACKAGE} \ |
slaxemulator@8149 | 20 --mandir=/usr/share/man \ |
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@8149 | 31 LDFLAGS='-Wl,-z,noexecstack' \ |
slaxemulator@8149 | 32 $CONFIGURE_ARGS && |
slaxemulator@8149 | 33 make -j 4 && make DESTDIR=$PWD/_pkg install |
slaxemulator@8149 | 34 } |
slaxemulator@8149 | 35 |
slaxemulator@8149 | 36 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@8149 | 37 genpkg_rules() |
slaxemulator@8149 | 38 { |
slaxemulator@8149 | 39 mkdir -p $fs/usr/lib/$PACKAGE/$PACKAGE |
slaxemulator@8149 | 40 cp -a $_pkg/etc $fs |
slaxemulator@8149 | 41 cp -a $_pkg/usr/bin $fs/usr |
slaxemulator@8149 | 42 cp -a $_pkg/usr/lib/$PACKAGE/*.so* $fs/usr/lib/$PACKAGE |
slaxemulator@8149 | 43 cp -a $_pkg/usr/lib/$PACKAGE/$PACKAGE/*.so* $fs/usr/lib/$PACKAGE/$PACKAGE |
slaxemulator@8149 | 44 cp -a $_pkg/usr/lib/$PACKAGE/mpi.mod $fs/usr/lib/$PACKAGE |
slaxemulator@8149 | 45 } |
slaxemulator@8149 | 46 |