diff options
Diffstat (limited to 'sci-libs/scotch/scotch-5.1.11-r1.ebuild')
-rw-r--r-- | sci-libs/scotch/scotch-5.1.11-r1.ebuild | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/sci-libs/scotch/scotch-5.1.11-r1.ebuild b/sci-libs/scotch/scotch-5.1.11-r1.ebuild index 4a8e802..556a706 100644 --- a/sci-libs/scotch/scotch-5.1.11-r1.ebuild +++ b/sci-libs/scotch/scotch-5.1.11-r1.ebuild @@ -36,6 +36,7 @@ make_shared_lib() { -shared -Wl,-soname="${soname}" \ -Wl,--whole-archive "${libstatic}" -Wl,--no-whole-archive \ "$@" -o $(dirname "${libstatic}")/"${soname}" || die "${soname} failed" + ln -s "${soname}" $(dirname "${libstatic}")/"${soname%.*}" } src_prepare() { @@ -73,11 +74,7 @@ src_compile() { } src_install() { - local l - for l in lib/*.so.*; do - dolib.so ${l} - dosym $(basename ${l}) /usr/$(get_libdir)/$(basename ${l%.*}) - done + dolib.so lib/*.so* use static-libs && dolib.a lib/*.a insinto /usr/include/scotch @@ -107,7 +104,7 @@ src_install() { Description: ${DESCRIPTION} Version: ${PV} URL: ${HOMEPAGE} - Libs: -L\${libdir} -lptscotchparmetis -lptscotcherr -lptscotch + Libs: -L\${libdir} -lptscotchparmetis -lscotchmetis -lptscotcherr -lptscotch Private: -lm -lz -lrt Cflags: -I\${includedir}/scotch EOF |