blob: 1dc6150d57425959b140af691b793e09e5ad4c77 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
post_install() {
source /etc/profile.d/slepc.sh
source /etc/profile.d/petsc.sh
noVersion=${1%%-[1-9]}
rootDir=${noVersion/_/-}
cat << EOF
1) If you just ran makepkg in this directory then
to test the SLEPc installation you can run:
# cd src/slepc-${rootDir}/; make SLEPC_DIR=$SLEPC_DIR PETSC_DIR=$PETSC_DIR test
2) Set your environment variable somewhere appropriate:
export SLEPC_DIR=$SLEPC_DIR
EOF
}
# vim:set ts=2 sw=2 et:
|