aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Savchenko <bircoph@gmail.com>2014-07-03 02:36:31 +0400
committerAndrew Savchenko <bircoph@gmail.com>2014-07-03 02:36:31 +0400
commit61b06f12bb0b5809ced355582dcf5dd39677f9d5 (patch)
tree1c3f68b3775cdc691a71238c49c58ee3228dfb6e /sci-physics/root/root-9999.ebuild
parentMerge remote-tracking branch 'github/master' (diff)
downloadsci-61b06f12bb0b5809ced355582dcf5dd39677f9d5.tar.gz
sci-61b06f12bb0b5809ced355582dcf5dd39677f9d5.tar.bz2
sci-61b06f12bb0b5809ced355582dcf5dd39677f9d5.zip
sci-physics/root: fix aux docs installation
Do not compress files required for .credits, .demo, .license commands. Fix tutorials patch.
Diffstat (limited to 'sci-physics/root/root-9999.ebuild')
-rw-r--r--sci-physics/root/root-9999.ebuild8
1 files changed, 7 insertions, 1 deletions
diff --git a/sci-physics/root/root-9999.ebuild b/sci-physics/root/root-9999.ebuild
index 26f1dd15c..9c76fed4f 100644
--- a/sci-physics/root/root-9999.ebuild
+++ b/sci-physics/root/root-9999.ebuild
@@ -200,7 +200,8 @@ src_prepare() {
"${FILESDIR}"/${PN}-6.00.01-nobyte-compile.patch \
"${FILESDIR}"/${PN}-6.00.01-prop-flags.patch \
"${FILESDIR}"/${PN}-6.00.01-llvm.patch \
- "${FILESDIR}"/${PN}-6.00.01-geocad.patch
+ "${FILESDIR}"/${PN}-6.00.01-geocad.patch \
+ "${FILESDIR}"/${PN}-6.00.01-tutorials-path.patch
# make sure we use system libs and headers
rm montecarlo/eg/inc/cfortran.h README/cfortran.doc || die
@@ -422,6 +423,11 @@ src_install() {
daemon_install
desktop_install
cleanup_install
+
+ # do not copress files used by ROOT's CLI (.credit, .demo, .license)
+ docompress -x "${DOC_DIR}"/{CREDITS,LICENSE,examples/tutorials}
+ # needed for .license command to work
+ dosym "${ED}"usr/portage/licenses/LGPL-2.1 "${DOC_DIR}/LICENSE"
}
pkg_postinst() {