|
Lines 141-146
g4_create_env_script() {
|
Link Here
|
|---|
|
LDPATH=${G4LIB} | LDPATH=${G4LIB} |
CLHEP_BASE_DIR=${CLHEP_BASE_DIR} | CLHEP_BASE_DIR=${CLHEP_BASE_DIR} |
EOF | EOF |
|
|
|
# detailed data file locations |
|
if $(use data); then |
|
export G4LEVELGAMMADATA="${G4DATA}/PhotonEvaporation2.0" |
|
export G4RADIOACTIVEDATA="${G4DATA}/RadioactiveDecay3.2" |
|
export G4LEDATA="${G4DATA}/G4EMLOW5.1" |
|
export G4NEUTRONHPCROSSSECTIONS="${G4DATA}/G4NDL3.12" |
|
fi |
|
|
# read env variables defined upto now | # read env variables defined upto now |
printenv | grep ^G4 | uniq >> ${g4env} | printenv | grep ^G4 | uniq >> ${g4env} |
| |
|
|
} | } |
| |
pkg_postinst() { | pkg_postinst() { |
elog "Geant4 projects are by default expected in each user's " |
elog "Geant4 projects are by default build in $G4WORKDIR." |
elog "If you want to change, set \$G4WORKDIR to another directory" |
elog "If you want to change, set \$G4WORKDIR to another directory." |
elog | elog |
elog "Help us to improve the ebuild and dependencies in" | elog "Help us to improve the ebuild and dependencies in" |
elog "http://bugs.gentoo.org/show_bug.cgi?id=212221" | elog "http://bugs.gentoo.org/show_bug.cgi?id=212221" |