summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
}