aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Maier <tamiko@kyomu.43-1.org>2013-07-26 00:56:28 +0200
committerMatthias Maier <tamiko@kyomu.43-1.org>2013-07-26 00:56:28 +0200
commitf9b30434fc1b31092b6b56c0a2bdcad68f0fb968 (patch)
tree9ee7a0f166d9d26c22db0aa558cf62b194b4065c /sci-libs/dealii
parentBugfix: Get the dependencies with mpi right. Add REQUIRED_USE constraints (diff)
downloadsci-f9b30434fc1b31092b6b56c0a2bdcad68f0fb968.tar.gz
sci-f9b30434fc1b31092b6b56c0a2bdcad68f0fb968.tar.bz2
sci-f9b30434fc1b31092b6b56c0a2bdcad68f0fb968.zip
Install the examples properly to usr/share/doc/${PF}/examples
Diffstat (limited to 'sci-libs/dealii')
-rw-r--r--sci-libs/dealii/dealii-9999.ebuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/sci-libs/dealii/dealii-9999.ebuild b/sci-libs/dealii/dealii-9999.ebuild
index 43e4ebb9e..9e159487d 100644
--- a/sci-libs/dealii/dealii-9999.ebuild
+++ b/sci-libs/dealii/dealii-9999.ebuild
@@ -101,7 +101,7 @@ src_configure() {
"-DDEAL_II_CMAKE_MACROS_RELDIR=share/${PN}/cmake/macros"
"-DDEAL_II_DOCHTML_RELDIR=share/doc/${PF}/html"
"-DDEAL_II_DOCREADME_RELDIR=share/doc/${PF}/"
- "-DDEAL_II_EXAMPLES_RELDIR=share/${PN}/examples"
+ "-DDEAL_II_EXAMPLES_RELDIR=share/doc/${PF}/examples"
"-DDEAL_II_LIBRARY_RELDIR=$(get_libdir)"
)
cmake-utils_src_configure
@@ -121,4 +121,7 @@ src_install() {
fi
fi
cmake-utils_src_install
+
+ # unpack the installed example sources:
+ use examples && docompress -x /usr/share/doc/${PF}/examples
}