From 4083ee93955b4b8f88aff04990072c4b136dd02c Mon Sep 17 00:00:00 2001 From: Juan RP Date: Wed, 2 Apr 2014 14:10:19 +0200 Subject: [PATCH] openmpi: added libopenmpi subpkg with the shlibs. --- common/shlibs | 12 ++++++------ srcpkgs/libopenmpi | 1 + srcpkgs/openmpi/template | 11 +++++++++-- 3 files changed, 16 insertions(+), 8 deletions(-) create mode 120000 srcpkgs/libopenmpi diff --git a/common/shlibs b/common/shlibs index b67b7b932e..81b5292f79 100644 --- a/common/shlibs +++ b/common/shlibs @@ -633,12 +633,12 @@ libapr-1.so.0 apr-1.4.2_1 libaprutil-1.so.0 apr-util-1.3.9_1 libnetpgp.so.0 libnetpgp-20100313_1 libmj.so.0 libmj-20140211_1 -libmca_common_sm.so.1 openmpi-1.4.1_1 -libmpi_cxx.so.0 openmpi-1.4.1_1 -libmpi.so.0 openmpi-1.4.1_1 -libopenmpi_malloc.so.0 openmpi-1.4.1_1 -libopen-pal.so.0 openmpi-1.4.1_1 -libopen-rte.so.0 openmpi-1.4.1_1 +libmca_common_sm.so.1 libopenmpi-1.4.1_6 +libmpi_cxx.so.0 libopenmpi-1.4.1_6 +libmpi.so.0 libopenmpi-1.4.1_6 +libopenmpi_malloc.so.0 libopenmpi-1.4.1_6 +libopen-pal.so.0 libopenmpi-1.4.1_6 +libopen-rte.so.0 libopenmpi-1.4.1_6 libmtp.so.9 libmtp-1.1.4_1 libelf.so.1 libelf-0.155_1 libdw.so.1 libelf-0.155_1 diff --git a/srcpkgs/libopenmpi b/srcpkgs/libopenmpi new file mode 120000 index 0000000000..70acbcf19c --- /dev/null +++ b/srcpkgs/libopenmpi @@ -0,0 +1 @@ +openmpi \ No newline at end of file diff --git a/srcpkgs/openmpi/template b/srcpkgs/openmpi/template index fa4d941528..d695486be3 100644 --- a/srcpkgs/openmpi/template +++ b/srcpkgs/openmpi/template @@ -1,7 +1,7 @@ # Template file for 'openmpi' pkgname=openmpi version=1.4.1 -revision=5 +revision=6 build_style=gnu-configure hostmakedepends="libgomp-devel" makedepends="zlib-devel libgomp-devel" @@ -16,8 +16,15 @@ maintainer="Juan RP " distfiles="http://www.open-mpi.org/software/ompi/v1.4/downloads/$pkgname-$version.tar.bz2" checksum=d4d71d7c670d710d2d283ea60af50d6c315318a4c35ec576bedfd0f3b7b8c218 +libopenmpi_package() { + short_desc+=" - runtime libraries" + pkg_install() { + vmove usr/lib/*.so.* + } +} + openmpi-devel_package() { - depends="libstdc++-devel zlib-devel ${sourcepkg}>=${version}_${revision}" + depends="libstdc++-devel zlib-devel lib${sourcepkg}>=${version}_${revision}" short_desc+=" - development files" pkg_install() { vmove usr/include