2010-05-04 11:05:31 +00:00
|
|
|
# Template file for 'openmpi'
|
|
|
|
pkgname=openmpi
|
|
|
|
version=1.4.1
|
2014-04-02 12:10:19 +00:00
|
|
|
revision=6
|
2014-04-02 12:18:48 +00:00
|
|
|
lib32disabled=yes
|
2011-10-24 12:14:47 +00:00
|
|
|
build_style=gnu-configure
|
2014-02-21 15:27:51 +00:00
|
|
|
hostmakedepends="libgomp-devel"
|
2013-04-14 03:01:48 +00:00
|
|
|
makedepends="zlib-devel libgomp-devel"
|
2014-01-01 15:10:11 +00:00
|
|
|
conf_files="
|
|
|
|
/etc/openmpi-default-hostfile
|
|
|
|
/etc/openmpi-mca-params.conf
|
|
|
|
/etc/openmpi-totalview.tcl"
|
2010-05-04 11:05:31 +00:00
|
|
|
short_desc="A High Performance Message Passing Library"
|
2013-03-31 07:51:36 +00:00
|
|
|
homepage="http://www.open-mpi.org/"
|
|
|
|
license="Custom"
|
2010-05-04 11:05:31 +00:00
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2013-04-14 03:01:48 +00:00
|
|
|
distfiles="http://www.open-mpi.org/software/ompi/v1.4/downloads/$pkgname-$version.tar.bz2"
|
2010-05-04 11:05:31 +00:00
|
|
|
checksum=d4d71d7c670d710d2d283ea60af50d6c315318a4c35ec576bedfd0f3b7b8c218
|
|
|
|
|
2014-04-02 12:10:19 +00:00
|
|
|
libopenmpi_package() {
|
|
|
|
short_desc+=" - runtime libraries"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/lib/*.so.*
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2013-04-14 03:01:48 +00:00
|
|
|
openmpi-devel_package() {
|
2014-04-02 12:10:19 +00:00
|
|
|
depends="libstdc++-devel zlib-devel lib${sourcepkg}>=${version}_${revision}"
|
2014-01-01 15:10:11 +00:00
|
|
|
short_desc+=" - development files"
|
2013-04-14 03:01:48 +00:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove "usr/lib/*.a"
|
2014-02-21 15:27:51 +00:00
|
|
|
vmove "usr/lib/*.so"
|
2013-04-14 03:01:48 +00:00
|
|
|
vmove usr/share/man/man3
|
|
|
|
}
|
|
|
|
}
|