wok-next rev 8149
Add openmpi.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Tue Jan 25 13:13:05 2011 +0000 (2011-01-25) |
parents | 49e1e0f01970 |
children | 6fa87be78418 |
files | openmpi-dev/receipt openmpi/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/openmpi-dev/receipt Tue Jan 25 13:13:05 2011 +0000 1.3 @@ -0,0 +1,19 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="openmpi-dev" 1.7 +VERSION="1.5.1" 1.8 +CATEGORY="development" 1.9 +SHORT_DESC="devel files for opemmpi" 1.10 +MAINTAINER="slaxemulator@gmail.com" 1.11 +DEPENDS="openmpi" 1.12 +WEB_SITE="http://www.open-mpi.org" 1.13 +WANTED="openmpi" 1.14 + 1.15 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.16 +genpkg_rules() 1.17 +{ 1.18 + mkdir -p $fs/usr/lib/${PACKAGE%-dev} 1.19 + cp -a $_pkg/usr/include $fs/usr 1.20 + cp -a $_pkg/usr/lib/${PACKAGE%-dev}/pkgconfig $fs/usr/lib/${PACKAGE%-dev} 1.21 +} 1.22 +
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/openmpi/receipt Tue Jan 25 13:13:05 2011 +0000 2.3 @@ -0,0 +1,46 @@ 2.4 +# SliTaz package receipt. 2.5 + 2.6 +PACKAGE="openmpi" 2.7 +VERSION="1.5.1" 2.8 +CATEGORY="development" 2.9 +SHORT_DESC="High performance message passing library (MPI)" 2.10 +MAINTAINER="slaxemulator@gmail.com" 2.11 +DEPENDS="gcc gfortran libtool openssh valgrind" 2.12 +BUILD_DEPENDS="$DEPENDS valgrind-dev" 2.13 +TARBALL="$PACKAGE-$VERSION.tar.bz2" 2.14 +WEB_SITE="http://www.open-mpi.org" 2.15 +WGET_URL="http://www.open-mpi.org/software/ompi/v1.5/downloads/$TARBALL" 2.16 + 2.17 +# Rules to configure and make the package. 2.18 +compile_rules() 2.19 +{ 2.20 + cd $src 2.21 + ./configure --prefix=/usr \ 2.22 + --sysconfdir=/etc/${PACKAGE} \ 2.23 + --mandir=/usr/share/man \ 2.24 + --enable-mpi-f90 \ 2.25 + --libdir=/usr/lib/${pkgname} \ 2.26 + --with-threads=posix \ 2.27 + --enable-mpi-threads \ 2.28 + --enable-smp-locks \ 2.29 + --with-valgrind \ 2.30 + --enable-pretty-print-stacktrace \ 2.31 + --without-slurm \ 2.32 + --with-libltdl=/usr \ 2.33 + FC=/usr/bin/gfortran \ 2.34 + LDFLAGS='-Wl,-z,noexecstack' \ 2.35 + $CONFIGURE_ARGS && 2.36 + make -j 4 && make DESTDIR=$PWD/_pkg install 2.37 +} 2.38 + 2.39 +# Rules to gen a SliTaz package suitable for Tazpkg. 2.40 +genpkg_rules() 2.41 +{ 2.42 + mkdir -p $fs/usr/lib/$PACKAGE/$PACKAGE 2.43 + cp -a $_pkg/etc $fs 2.44 + cp -a $_pkg/usr/bin $fs/usr 2.45 + cp -a $_pkg/usr/lib/$PACKAGE/*.so* $fs/usr/lib/$PACKAGE 2.46 + cp -a $_pkg/usr/lib/$PACKAGE/$PACKAGE/*.so* $fs/usr/lib/$PACKAGE/$PACKAGE 2.47 + cp -a $_pkg/usr/lib/$PACKAGE/mpi.mod $fs/usr/lib/$PACKAGE 2.48 +} 2.49 +