wok diff openmpi/receipt @ rev 8674

Up: cmake to 2.8.4.
author Christopher Rogers <slaxemulator@gmail.com>
date Wed Feb 16 18:45:12 2011 +0000 (2011-02-16)
parents
children a5054134e5b5
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/openmpi/receipt	Wed Feb 16 18:45:12 2011 +0000
     1.3 @@ -0,0 +1,46 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="openmpi"
     1.7 +VERSION="1.5.1"
     1.8 +CATEGORY="development"
     1.9 +SHORT_DESC="High performance message passing library (MPI)"
    1.10 +MAINTAINER="slaxemulator@gmail.com"
    1.11 +DEPENDS="gcc gfortran libtool openssh valgrind"
    1.12 +BUILD_DEPENDS="$DEPENDS valgrind-dev"
    1.13 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.14 +WEB_SITE="http://www.open-mpi.org"
    1.15 +WGET_URL="http://www.open-mpi.org/software/ompi/v1.5/downloads/$TARBALL"
    1.16 +
    1.17 +# Rules to configure and make the package.
    1.18 +compile_rules()
    1.19 +{
    1.20 +	cd $src
    1.21 +   ./configure --prefix=/usr \
    1.22 +               --sysconfdir=/etc/${PACKAGE} \
    1.23 +               --mandir=/usr/share/man \
    1.24 +               --enable-mpi-f90 \
    1.25 +               --libdir=/usr/lib/${pkgname} \
    1.26 +               --with-threads=posix \
    1.27 +               --enable-mpi-threads \
    1.28 +               --enable-smp-locks \
    1.29 +               --with-valgrind \
    1.30 +               --enable-pretty-print-stacktrace \
    1.31 +               --without-slurm \
    1.32 +               --with-libltdl=/usr \
    1.33 +               FC=/usr/bin/gfortran \
    1.34 +               LDFLAGS='-Wl,-z,noexecstack' \
    1.35 +		$CONFIGURE_ARGS &&
    1.36 +	make -j 4 && make DESTDIR=$PWD/_pkg install
    1.37 +}
    1.38 +
    1.39 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.40 +genpkg_rules()
    1.41 +{
    1.42 +	mkdir -p $fs/usr/lib/$PACKAGE/$PACKAGE
    1.43 +	cp -a $_pkg/etc $fs
    1.44 +	cp -a $_pkg/usr/bin $fs/usr
    1.45 +	cp -a $_pkg/usr/lib/$PACKAGE/*.so* $fs/usr/lib/$PACKAGE
    1.46 +	cp -a $_pkg/usr/lib/$PACKAGE/$PACKAGE/*.so* $fs/usr/lib/$PACKAGE/$PACKAGE
    1.47 +	cp -a $_pkg/usr/lib/$PACKAGE/mpi.mod $fs/usr/lib/$PACKAGE
    1.48 +}
    1.49 +