summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConrad Kostecki <conikost@gentoo.org>2021-05-31 11:19:21 +0200
committerDavid Seifert <soap@gentoo.org>2021-05-31 11:19:21 +0200
commitdd6f9b1f9a47804d36c8dce5aab67022f19e57ee (patch)
tree8686c4d56f6efe18015502d0f9e64698b37f425f /sci-libs/hdf
parentsci-geosciences/congen: drop deprecated ltprune eclass (diff)
downloadgentoo-dd6f9b1f9a47804d36c8dce5aab67022f19e57ee.tar.gz
gentoo-dd6f9b1f9a47804d36c8dce5aab67022f19e57ee.tar.bz2
gentoo-dd6f9b1f9a47804d36c8dce5aab67022f19e57ee.zip
sci-libs/hdf: drop deprecated ltprune eclass
Signed-off-by: Conrad Kostecki <conikost@gentoo.org> Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'sci-libs/hdf')
-rw-r--r--sci-libs/hdf/hdf-4.2.13-r1.ebuild10
1 files changed, 8 insertions, 2 deletions
diff --git a/sci-libs/hdf/hdf-4.2.13-r1.ebuild b/sci-libs/hdf/hdf-4.2.13-r1.ebuild
index 7937f8032bdf..cf5dc153dc11 100644
--- a/sci-libs/hdf/hdf-4.2.13-r1.ebuild
+++ b/sci-libs/hdf/hdf-4.2.13-r1.ebuild
@@ -5,7 +5,7 @@ EAPI=6
FORTRAN_NEEDED=fortran
-inherit fortran-2 toolchain-funcs autotools flag-o-matic ltprune
+inherit fortran-2 toolchain-funcs autotools flag-o-matic
MYP=${P/_p/-patch}
@@ -61,8 +61,13 @@ src_configure() {
src_install() {
default
- use static-libs || prune_libtool_files --all
+
+ if ! use static-libs; then
+ find "${ED}" -name '*.la' -delete || die
+ fi
+
dodoc release_notes/{RELEASE,HISTORY,bugs_fixed,misc_docs}.txt
+
cd "${ED}"usr
if use examples; then
mv share/hdf4_examples share/doc/${PF}/examples || die
@@ -70,6 +75,7 @@ src_install() {
else
rm -r share/hdf4_examples || die
fi
+
mv bin/ncgen{,-hdf} || die
mv bin/ncdump{,-hdf} || die
mv share/man/man1/ncgen{,-hdf}.1 || die