sci-physics/root: install distributed INSTALL file

PS: workaround with cat created a sandbox violation.

Package-Manager: portage-2.2.25
This commit is contained in:
Guilherme Amadio
2015-11-20 17:41:17 +01:00
parent b0aeab3eee
commit 7d29a1675c

View File

@@ -421,7 +421,7 @@ cleanup_install() {
rm -r etc/root/daemons || die
# these should be in PATH
mv etc/root/proof/utils/pq2/pq2* usr/bin/ || die
rm ${DOC_DIR#/}/{INSTALL,LICENSE} || die
rm ${DOC_DIR#/}/INSTALL || die
use examples || rm -r ${DOC_DIR#/}/examples || die
# clean hardcoded sandbox paths
@@ -460,12 +460,6 @@ src_install() {
# do not copress files used by ROOT's CLI (.credit, .demo, .license)
docompress -x "${DOC_DIR}"/{CREDITS,examples/tutorials}
# needed for .license command to work
cat > "${DOC_DIR}/LICENSE" <<- EOF
Please visit
https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html
for the full license test
EOF
}
pkg_postinst() {