Added openmpi-1.4.1 build template.

This commit is contained in:
Juan RP 2010-05-04 13:05:31 +02:00
parent e883afa2fd
commit d3312cc604
5 changed files with 56 additions and 0 deletions

1
srcpkgs/openmpi-devel Symbolic link
View file

@ -0,0 +1 @@
openmpi

2
srcpkgs/openmpi/depends Normal file
View file

@ -0,0 +1,2 @@
abi_depends=">=1.4.1"
api_depends="${abi_depends}"

View file

@ -0,0 +1,18 @@
# Template file for 'openmpi-devel'.
#
short_desc="${short_desc} - development files"
long_desc="${long_desc}
This package contains files for development, headers, static libs, etc."
Add_dependency run libstdc++-devel
Add_dependency run zlib-devel
Add_dependency run openmpi
do_install()
{
mkdir -p ${DESTDIR}/usr/lib ${DESTDIR}/usr/share/man
mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr
mv ${SRCPKGDESTDIR}/usr/lib/*.a ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/share/man/man3 ${DESTDIR}/usr/share/man
}

29
srcpkgs/openmpi/template Normal file
View file

@ -0,0 +1,29 @@
# Template file for 'openmpi'
pkgname=openmpi
version=1.4.1
distfiles="http://www.open-mpi.org/software/ompi/v1.4/downloads/$pkgname-$version.tar.bz2"
build_style=gnu_configure
short_desc="A High Performance Message Passing Library"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=d4d71d7c670d710d2d283ea60af50d6c315318a4c35ec576bedfd0f3b7b8c218
long_desc="
The Open MPI Project is an open source MPI-2 implementation that is developed
and maintained by a consortium of academic, research, and industry partners.
Open MPI is therefore able to combine the expertise, technologies, and
resources from all across the High Performance Computing community in order
to build the best MPI library available."
subpackages="$pkgname-devel"
conf_files="
/etc/openmpi-default-hostfile
/etc/openmpi-mca-params.conf
/etc/openmpi-totalview.tcl"
Add_dependency run libgcc
Add_dependency run glibc
Add_dependency run libstdc++
Add_dependency run zlib
Add_dependency run libgomp
Add_dependency build libstdc++-devel
Add_dependency build zlib-devel

View file

@ -630,3 +630,9 @@ libprofile_rt.so llvm llvm-devel
libapr-1.so apr apr-devel
libaprutil-1.so apr-util apr-util-devel
libnetpgp.so libnetpgp libnetpgp-devel
libmca_common_sm.so openmpi openmpi-devel
libmpi_cxx.so openmpi openmpi-devel
libmpi.so openmpi openmpi-devel
libopenmpi_malloc.so openmpi openmpi-devel
libopen-pal.so openmpi openmpi-devel
libopen-rte.so openmpi openmpi-devel