diff options
author | Sébastien Fabbro <bicatali@gentoo.org> | 2011-06-01 18:27:38 +0100 |
---|---|---|
committer | Sébastien Fabbro <bicatali@gentoo.org> | 2011-06-01 18:27:38 +0100 |
commit | 2701bd609c4ff850861e1dcc960ba644be87c0f0 (patch) | |
tree | c7df16885136e5f7bcda0bee9629e7c452380ed9 /sci-libs | |
parent | more sed fixes. shared libs work. all tested (diff) | |
download | bicatali-2701bd609c4ff850861e1dcc960ba644be87c0f0.tar.gz bicatali-2701bd609c4ff850861e1dcc960ba644be87c0f0.tar.bz2 bicatali-2701bd609c4ff850861e1dcc960ba644be87c0f0.zip |
simplified symbolic linking. metis pkgconfig fix
Diffstat (limited to 'sci-libs')
-rw-r--r-- | sci-libs/scotch/Manifest | 2 | ||||
-rw-r--r-- | sci-libs/scotch/scotch-5.1.11-r1.ebuild | 9 |
2 files changed, 4 insertions, 7 deletions
diff --git a/sci-libs/scotch/Manifest b/sci-libs/scotch/Manifest index 3e54bc1..57a3245 100644 --- a/sci-libs/scotch/Manifest +++ b/sci-libs/scotch/Manifest @@ -2,6 +2,6 @@ AUX Makefile.inc.in 369 RMD160 3261d40521cff31e0f6a4c20799578145eb7a570 SHA1 4e6 AUX metis-header.patch 345 RMD160 d7201cb05518a9c4cedcc34d327dd08dd6d17cd7 SHA1 ad01b424169b68dfabbaeefd4baa47ffef725a1a SHA256 a1928acae74c5f8bfd3201d8b9f4be445f670fdd48fe1a69bb700a9f3b98e851 AUX respect-ldflags.patch 3867 RMD160 87a069731aa5a6a15ba892d1333419c0cc6fbcc5 SHA1 add77e8e11604adb2461112117c858b429d0d1e3 SHA256 b277e980cc6e671604dae0e5a4cba28255a786b4294f800ec20ca88d10d8aa49 DIST scotch_5.1.11_esmumps.tgz 3952439 RMD160 f8db2bb02cbdadb7e02782daccddcdc4cdec4cac SHA1 b62501e0bf7fd24af3712647578b3e764f166287 SHA256 595ccc664ba070264b851a27b7860042a6bc716d6aade93e0909619decfabc92 -EBUILD scotch-5.1.11-r1.ebuild 3775 RMD160 fc6e7a0f22fcf9c58cc8727a47460ea845d3fb28 SHA1 d3fb0ac6665557434a0c6018fbf1abe8c47dd84f SHA256 6f82118d7f883a19f52ca4d222d156866fd43c15b1dab8a741165719d4997d35 +EBUILD scotch-5.1.11-r1.ebuild 3749 RMD160 a989e9898f53103de54d667f602b871b50d25a45 SHA1 b814a872102bc9fa61257de3b5138edc8ab78277 SHA256 e77b606f6af2ee0f44fdf9e08d9a868eb82dd0cfae68f9b64fc761a38af174f1 MISC ChangeLog 1795 RMD160 2dcf18a7eb653a84ad4f4a5f78b6b6de98c5ba72 SHA1 4eed85e096a9d31d8db63aee1ac1b016b4659bd9 SHA256 2848dac6f6a64d028477be7c97b30c866e8c8647fef3065435b02ced165f8a7c MISC metadata.xml 1007 RMD160 1ef66d65ea2ff3022b287a12a26e1b08360390ff SHA1 5e624702b7ead9d165c0c698c77d76306439020c SHA256 fd9d3ef83d702452fa572e5ff3217f42819579e3510dbad5fac4081b07cb5d16 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 |