spiceopus-config.custom 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. #! /bin/sh -
  2. #
  3. # This shell script calls spice binaries indirectly after setting
  4. # some spice3-specific environment variables. This way, you can
  5. # change the organization of the directories containing spice3
  6. # without re-compiling.
  7. #
  8. # In short: edit this file to set spice bin and lib path, editor, etc.
  9. # Spice installation prefix
  10. # SPICE_INSTALL_PREFIX=/usr/local
  11. SPICE_INSTALL_PREFIX=/usr
  12. # OPUSHOME variable default value
  13. if test -z "$OPUSHOME";
  14. then
  15. OPUSHOME=$SPICE_INSTALL_PREFIX
  16. export OPUSHOME
  17. fi
  18. # Where the spice3 executable resides
  19. if test -z "$SPICE_EXEC_DIR";
  20. then
  21. SPICE_EXEC_DIR=$SPICE_INSTALL_PREFIX/bin
  22. export SPICE_EXEC_DIR
  23. fi
  24. # Where spice3 support files reside
  25. if test -z "$SPICE_LIB_DIR";
  26. then
  27. SPICE_LIB_DIR=$SPICE_INSTALL_PREFIX/lib/spiceopus
  28. export SPICE_LIB_DIR
  29. fi
  30. # For "rspice", the server name
  31. # SPICE_HOST=localhost
  32. # export SPICE_HOST
  33. # For mailing bugs
  34. # SPICE_BUGADDR=cad@localhost
  35. # export SPICE_BUGADDR
  36. # Editor used by the "edit" command
  37. SPICE_EDITOR=/usr/bin/X11/xedit
  38. export SPICE_EDITOR
  39. # Set to 1 if you want raw data files to be in ascii (to move across
  40. # different types of systems.
  41. SPICE_ASCIIRAWFILE=0
  42. export SPICE_ASCIIRAWFILE
  43. # The following will be set automatically to the values shown; if you want
  44. # to override these values, uncomment the relevant line.
  45. #
  46. # SPICE_NEWS=$SPICE_LIB_DIR/news
  47. # export SPICE_NEWS
  48. # SPICE_MFBCAP=$SPICE_LIB_DIR/mfbcap
  49. # export SPICE_MFBCAP
  50. # SPICE_HELP=$SPICE_LIB_DIR/helpdir
  51. # export SPICE_HELP
  52. # SPICE_SCRIPTS=$SPICE_LIB_DIR/scripts
  53. # export SPICE_SCRIPTS
  54. # SPICE_PATH=$SPICE_EXEC_DIR/spice3
  55. # export SPICE_PATH
  56. #
  57. # Find .cm files in the working directory
  58. LD_LIBRARY_PATH="$LD_LIBRARY_PATH;."
  59. export LD_LIBRARY_PATH
  60. # Don't edit this line.
  61. exec $0.bin $@