aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlessandro Barbieri <lssndrbarbieri@gmail.com>2021-07-13 12:00:40 +0200
committerAlessandro Barbieri <lssndrbarbieri@gmail.com>2021-07-13 13:13:55 +0200
commit1b961cef55ff521004040e6423e76f6a1c53a14c (patch)
tree506caf1b58cca377faf2c5c5f0cbc35a6ed589e1 /sys-cluster/muster
parentdev-python/vharfbuzz: add 0.1.2 (diff)
downloadguru-1b961cef55ff521004040e6423e76f6a1c53a14c.tar.gz
guru-1b961cef55ff521004040e6423e76f6a1c53a14c.tar.bz2
guru-1b961cef55ff521004040e6423e76f6a1c53a14c.zip
sys-cluster/muster: use docs eclass
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
Diffstat (limited to 'sys-cluster/muster')
-rw-r--r--sys-cluster/muster/muster-1.0.1.ebuild12
1 files changed, 6 insertions, 6 deletions
diff --git a/sys-cluster/muster/muster-1.0.1.ebuild b/sys-cluster/muster/muster-1.0.1.ebuild
index ab2cbd472..49032d21f 100644
--- a/sys-cluster/muster/muster-1.0.1.ebuild
+++ b/sys-cluster/muster/muster-1.0.1.ebuild
@@ -3,7 +3,10 @@
EAPI="7"
-inherit cmake
+DOCS_BUILDER="doxygen"
+DOCS_DIR="${S}"
+
+inherit cmake docs
DESCRIPTION="Massively Scalable Clustering"
HOMEPAGE="https://github.com/LLNL/muster"
@@ -19,7 +22,6 @@ RDEPEND="
virtual/mpi
"
DEPEND="${RDEPEND}"
-BDEPEND="doc? ( app-doc/doxygen )"
src_prepare() {
sed -e "s|DESTINATION lib|DESTINATION $(get_libdir)|g" -i src/CMakeLists.txt || die
@@ -36,14 +38,12 @@ src_configure() {
src_compile() {
cmake_src_compile
- if use doc; then
- doxygen || die
- fi
+ docs_compile
}
src_install() {
cmake_src_install
- use doc && dodoc -r doc/html
+ einstalldocs
if use tests; then
mkdir -p "${ED}/usr/libexec/${PN}/" || die
mv "${ED}"/usr/bin/*-test "${ED}/usr/libexec/${PN}/" || die