summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2021-12-20 10:31:24 +0100
committerAlfredo Tupone <tupone@gentoo.org>2021-12-20 10:31:24 +0100
commit5f2426e181025f862e292848d4ae83452892924c (patch)
treef1ca765d5f54731aa2125f15a215927c4708477d /dev-ada/gtkada/gtkada-2021.ebuild
parentnet-libs/grpc: Stabilize 1.41.1 arm64, #829430 (diff)
downloadgentoo-5f2426e181025f862e292848d4ae83452892924c.tar.gz
gentoo-5f2426e181025f862e292848d4ae83452892924c.tar.bz2
gentoo-5f2426e181025f862e292848d4ae83452892924c.zip
dev-ada/gtkada: add the install
Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
Diffstat (limited to 'dev-ada/gtkada/gtkada-2021.ebuild')
-rw-r--r--dev-ada/gtkada/gtkada-2021.ebuild7
1 files changed, 5 insertions, 2 deletions
diff --git a/dev-ada/gtkada/gtkada-2021.ebuild b/dev-ada/gtkada/gtkada-2021.ebuild
index b1c367c3dbed..da08ed425283 100644
--- a/dev-ada/gtkada/gtkada-2021.ebuild
+++ b/dev-ada/gtkada/gtkada-2021.ebuild
@@ -31,7 +31,8 @@ RDEPEND="${ADA_DEPS}
DEPEND="${RDEPEND}
dev-ada/gprbuild[${ADA_USEDEP}]"
-REQUIRED_USE="${ADA_REQUIRED_USE}"
+REQUIRED_USE="${ADA_REQUIRED_USE}
+ || ( shared static-libs )"
S="${WORKDIR}"/${MYP}
@@ -58,6 +59,8 @@ src_compile() {
}
src_install() {
- emake -j1 DESTDIR="${D}"
+ emake -j1 DESTDIR="${D}" install
einstalldocs
+ mv "${D}"/usr/share/doc/${PN}/${PN}_* "${D}"/usr/share/doc/${PF} || die
+ rmdir "${D}"/usr/share/doc/${PN} || die
}