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
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>
-rw-r--r--dev-ada/gtkada/gtkada-2021.ebuild7
-rw-r--r--dev-ada/gtkada/gtkada-22.0.0.ebuild2
2 files changed, 6 insertions, 3 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
}
diff --git a/dev-ada/gtkada/gtkada-22.0.0.ebuild b/dev-ada/gtkada/gtkada-22.0.0.ebuild
index 0d925e9cb301..439153321466 100644
--- a/dev-ada/gtkada/gtkada-22.0.0.ebuild
+++ b/dev-ada/gtkada/gtkada-22.0.0.ebuild
@@ -53,6 +53,6 @@ src_compile() {
}
src_install() {
- emake -j1 DESTDIR="${D}"
+ emake -j1 DESTDIR="${D}" install
einstalldocs
}