summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConrad Kostecki <conikost@gentoo.org>2021-05-31 11:19:15 +0200
committerDavid Seifert <soap@gentoo.org>2021-05-31 11:19:15 +0200
commit2b90fa9890229a4061a1bde0ac9322d292ed115f (patch)
tree0d139ed90be8d994118411489b3246d138dbdc92 /sci-astronomy/pal
parentsci-astronomy/healpix: drop deprecated ltprune eclass (diff)
downloadgentoo-2b90fa9890229a4061a1bde0ac9322d292ed115f.tar.gz
gentoo-2b90fa9890229a4061a1bde0ac9322d292ed115f.tar.bz2
gentoo-2b90fa9890229a4061a1bde0ac9322d292ed115f.zip
sci-astronomy/pal: drop deprecated ltprune eclass
Signed-off-by: Conrad Kostecki <conikost@gentoo.org> Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'sci-astronomy/pal')
-rw-r--r--sci-astronomy/pal/pal-0.9.7.ebuild8
1 files changed, 5 insertions, 3 deletions
diff --git a/sci-astronomy/pal/pal-0.9.7.ebuild b/sci-astronomy/pal/pal-0.9.7.ebuild
index 5ddae8ed01fa..3ab899f976be 100644
--- a/sci-astronomy/pal/pal-0.9.7.ebuild
+++ b/sci-astronomy/pal/pal-0.9.7.ebuild
@@ -3,8 +3,6 @@
EAPI=6
-inherit ltprune
-
DESCRIPTION="Positional Astronomy Library"
HOMEPAGE="https://github.com/Starlink/pal"
SRC_URI="https://github.com/Starlink/${PN}/releases/download/v${PV}/${P}.tar.gz"
@@ -25,8 +23,12 @@ src_configure() {
src_install() {
default
+
# remove cruft from non-fhs compliant
rm -r "${ED}"usr/share/pal || die
rm -r "${ED}"usr/{docs,manifests,news} || die
- use static-libs || prune_libtool_files --all
+
+ if ! use static-libs; then
+ find "${ED}" -name '*.la' -delete || die
+ fi
}