updated on Thu Jan 19 20:01:47 UTC 2012
[aur-mirror.git] / dislin / install.dislin
blob608e6c19da57e98430836e0d6c2b131bec2363bf
1 post_install() {
2 src=/usr/lib/dislin
3 rm $src/libdis*
5 echo ${DISLIN} > /etc/ld.so.conf.d/dislin.conf
8 echo add export DISLIN=$src in your .bashrc or /etc/profile
9 echo add $bin path to your .bashrc or /etc/profile as:
10 echo export PATH=\$PATH:$src/bin
11 echo
12 echo update the library path with: ldconfig
13 echo
14 echo user of python perl etc, please refer the library path in $src/python ... etc 
15 echo 
16 echo for example of compile C file:
17 echo gcc -c $src/examples/exa_c.c -I$src/
18 echo $src/bin/clink exa_c
19 echo or clink exa_c  if $src/bin is added already
22 post_upgrade() {
23         post_install
26 post_remove() {
27         rm /etc/ld.so.conf.d/dislin.conf