summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2024-04-26 22:34:33 +0100
committerSam James <sam@gentoo.org>2024-04-26 22:34:48 +0100
commit5514123820c205bada4151f0a35400858e7be95f (patch)
tree45ef029a2407798d7534e5c2965af9819d5bf8a0 /dev-debug
parentdev-libs/weston: Bump version to 13.0.1 (diff)
downloadgentoo-5514123820c205bada4151f0a35400858e7be95f.tar.gz
gentoo-5514123820c205bada4151f0a35400858e7be95f.tar.bz2
gentoo-5514123820c205bada4151f0a35400858e7be95f.zip
dev-debug/valgrind: install man pages in live ebuild
Thanks to mjw for helping out. Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-debug')
-rw-r--r--dev-debug/valgrind/valgrind-3.23.0.ebuild20
-rw-r--r--dev-debug/valgrind/valgrind-9999.ebuild20
2 files changed, 26 insertions, 14 deletions
diff --git a/dev-debug/valgrind/valgrind-3.23.0.ebuild b/dev-debug/valgrind/valgrind-3.23.0.ebuild
index 5a073f147105..efcec418f726 100644
--- a/dev-debug/valgrind/valgrind-3.23.0.ebuild
+++ b/dev-debug/valgrind/valgrind-3.23.0.ebuild
@@ -37,8 +37,14 @@ IUSE="mpi"
DEPEND="mpi? ( virtual/mpi )"
RDEPEND="${DEPEND}"
-if [[ ${PV} != 9999 ]] ; then
- BDEPEND="verify-sig? ( sec-keys/openpgp-keys-valgrind )"
+if [[ ${PV} == 9999 ]] ; then
+ # Needed for man pages
+ BDEPEND+="
+ app-text/docbook-xsl-stylesheets
+ dev-libs/libxslt
+ "
+else
+ BDEPEND+=" verify-sig? ( sec-keys/openpgp-keys-valgrind )"
fi
PATCHES=(
@@ -121,14 +127,14 @@ src_test() {
}
src_install() {
- default
-
- if [[ ${PV} == "9999" ]]; then
- # Otherwise FAQ.txt won't exist:
- emake -C docs FAQ.txt
+ if [[ ${PV} == 9999 ]]; then
+ # TODO: Could do HTML docs too with 'all-docs'
+ emake -C docs man-pages FAQ.txt
mv docs/FAQ.txt . || die "Couldn't move FAQ.txt"
fi
+ default
+
dodoc FAQ.txt
pax-mark m "${ED}"/usr/$(get_libdir)/valgrind/*-*-linux
diff --git a/dev-debug/valgrind/valgrind-9999.ebuild b/dev-debug/valgrind/valgrind-9999.ebuild
index 5a073f147105..efcec418f726 100644
--- a/dev-debug/valgrind/valgrind-9999.ebuild
+++ b/dev-debug/valgrind/valgrind-9999.ebuild
@@ -37,8 +37,14 @@ IUSE="mpi"
DEPEND="mpi? ( virtual/mpi )"
RDEPEND="${DEPEND}"
-if [[ ${PV} != 9999 ]] ; then
- BDEPEND="verify-sig? ( sec-keys/openpgp-keys-valgrind )"
+if [[ ${PV} == 9999 ]] ; then
+ # Needed for man pages
+ BDEPEND+="
+ app-text/docbook-xsl-stylesheets
+ dev-libs/libxslt
+ "
+else
+ BDEPEND+=" verify-sig? ( sec-keys/openpgp-keys-valgrind )"
fi
PATCHES=(
@@ -121,14 +127,14 @@ src_test() {
}
src_install() {
- default
-
- if [[ ${PV} == "9999" ]]; then
- # Otherwise FAQ.txt won't exist:
- emake -C docs FAQ.txt
+ if [[ ${PV} == 9999 ]]; then
+ # TODO: Could do HTML docs too with 'all-docs'
+ emake -C docs man-pages FAQ.txt
mv docs/FAQ.txt . || die "Couldn't move FAQ.txt"
fi
+ default
+
dodoc FAQ.txt
pax-mark m "${ED}"/usr/$(get_libdir)/valgrind/*-*-linux