Lines 141-146
g4_create_env_script() {
Link Here
|
141 |
LDPATH=${G4LIB} |
141 |
LDPATH=${G4LIB} |
142 |
CLHEP_BASE_DIR=${CLHEP_BASE_DIR} |
142 |
CLHEP_BASE_DIR=${CLHEP_BASE_DIR} |
143 |
EOF |
143 |
EOF |
|
|
144 |
|
145 |
# detailed data file locations |
146 |
if $(use data); then |
147 |
export G4LEVELGAMMADATA="${G4DATA}/PhotonEvaporation2.0" |
148 |
export G4RADIOACTIVEDATA="${G4DATA}/RadioactiveDecay3.2" |
149 |
export G4LEDATA="${G4DATA}/G4EMLOW5.1" |
150 |
export G4NEUTRONHPCROSSSECTIONS="${G4DATA}/G4NDL3.12" |
151 |
fi |
152 |
|
144 |
# read env variables defined upto now |
153 |
# read env variables defined upto now |
145 |
printenv | grep ^G4 | uniq >> ${g4env} |
154 |
printenv | grep ^G4 | uniq >> ${g4env} |
146 |
|
155 |
|
Lines 195-202
src_install() {
Link Here
|
195 |
} |
204 |
} |
196 |
|
205 |
|
197 |
pkg_postinst() { |
206 |
pkg_postinst() { |
198 |
elog "Geant4 projects are by default expected in each user's " |
207 |
elog "Geant4 projects are by default build in $G4WORKDIR." |
199 |
elog "If you want to change, set \$G4WORKDIR to another directory" |
208 |
elog "If you want to change, set \$G4WORKDIR to another directory." |
200 |
elog |
209 |
elog |
201 |
elog "Help us to improve the ebuild and dependencies in" |
210 |
elog "Help us to improve the ebuild and dependencies in" |
202 |
elog "http://bugs.gentoo.org/show_bug.cgi?id=212221" |
211 |
elog "http://bugs.gentoo.org/show_bug.cgi?id=212221" |