2010-05-04 11:05:31 +00:00
|
|
|
# Template file for 'openmpi'
|
|
|
|
pkgname=openmpi
|
2014-08-27 21:17:04 +00:00
|
|
|
version=1.8.2
|
|
|
|
revision=1
|
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>"
|
2014-08-27 21:17:04 +00:00
|
|
|
distfiles="http://www.open-mpi.org/software/ompi/v1.8/downloads/$pkgname-$version.tar.bz2"
|
|
|
|
checksum=ab70770faf1bac15ef44301fe2186b02f857646545492dd7331404e364a7d131
|
|
|
|
nocross=yes # libtool -rpath /usr/lib issue
|
2010-05-04 11:05:31 +00:00
|
|
|
|
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
|
|
|
|
}
|
|
|
|
}
|