home *** CD-ROM | disk | FTP | other *** search
/ Gold Fish 3 / goldfish_volume_3.bin / files / gfx / show / superview-lib / install_svlib < prev    next >
Encoding:
Text File  |  1995-05-28  |  3.8 KB  |  146 lines

  1. ; $VER: Install_SVLib V11.7 (25.5.95)
  2. ; © 1993-95 by Andreas R. Kleinert.
  3. ; This is the Installer Script for superview.library V11+
  4.  
  5. (set MC68x (database "cpu"))
  6. (set @app-name "SuperView-Library")
  7.  
  8. (makedir "ENV:SuperView-Library")
  9. (makedir "ENVARC:SuperView-Library")
  10.  
  11. (set selectsvdriver (askchoice
  12.                       (prompt "What's your basic configuration ?")
  13.                       (help @askchoice-help)
  14.                       (choices "ECS" "AGA" "AGA (CD-32)" "RetinaZ2/Z3" "OpalVision" "CyberGraphics GfxCard" "EGS GfxCard" "Other GfxCard" "(do not preset anything)")
  15.                       (default 1)
  16.                     )
  17. )
  18.  
  19. (if (= selectsvdriver 0) (set env_source "docs/SampleConfigs/env_ECS")           )
  20. (if (= selectsvdriver 1) (set env_source "docs/SampleConfigs/env_AGA")           )
  21. (if (= selectsvdriver 2) (set env_source "docs/SampleConfigs/env_AGA_CD32")      )
  22. (if (= selectsvdriver 3) (set env_source "docs/SampleConfigs/env_Retina")        )
  23. (if (= selectsvdriver 4) (set env_source "docs/SampleConfigs/env_OpalVision")    )
  24. (if (= selectsvdriver 5) (set env_source "docs/SampleConfigs/env_CyberGraphics") )
  25. (if (= selectsvdriver 6) (set env_source "docs/SampleConfigs/env_EGS")           )
  26. (if (= selectsvdriver 7) (set env_source "docs/SampleConfigs/env_GfxCards")      )
  27.  
  28. (if (<= selectsvdriver 7)
  29.   (
  30.     (copyfiles
  31.       (prompt "Copying selected configuration to ENV: ...")
  32.       (help @copyfiles-help)
  33.       (source env_source)
  34.       (dest "ENV:")
  35.       (all)
  36.     )
  37.     (copyfiles
  38.       (prompt "Copying basic GfxCard configuration to ENVARC: ...")
  39.       (help @copyfiles-help)
  40.       (source env_source)
  41.       (dest "ENVARC:")
  42.       (all)
  43.     )
  44.   )
  45. )
  46.  
  47. (copyfiles
  48.   (prompt "Installing CPInfo files to ENVARC: ...")
  49.   (help @copyfiles-help)
  50.   (source "env")
  51.   (dest "ENVARC:")
  52.   (all)
  53. )
  54.  
  55. (copylib
  56.   (prompt "Installing superview.library to LIBS: ...")
  57.   (help @copylib-help)
  58.   (source "libs/superview.library")
  59.   (set svlibdir
  60.               (askdir
  61.                      (prompt "Library Path")
  62.                      (help @askdir-help)
  63.                      (newpath)
  64.                      (default "LIBS:")
  65.               )
  66.   )
  67.   (dest svlibdir)
  68. )
  69.  
  70. (copylib
  71.   (prompt "Installing superviewsupport.library to LIBS: ...")
  72.   (help @copylib-help)
  73.   (source "libs/superviewsupport.library")
  74.   (dest svlibdir)
  75. )
  76.  
  77. (makedir "SYS:locale")
  78. (makedir "SYS:locale/catalogs")
  79.  
  80. (copyfiles
  81.   (prompt "Installing OS 2.1+ catalog files ...")
  82.   (help @copyfiles-help)
  83.   (source "locale/catalogs")
  84.   (set svcatdir
  85.               (askdir
  86.                      (prompt "Catalog Path")
  87.                      (help @askdir-help)
  88.                      (newpath)
  89.                      (default "SYS:locale/Catalogs")
  90.               )
  91.   )
  92.   (dest svcatdir)
  93.   (all)
  94. )
  95.  
  96. (makedir "LIBS:svobjects")
  97. (makedir "LIBS:svdrivers")
  98. (makedir "LIBS:svoperators")
  99.  
  100. (copyfiles
  101.   (prompt "Installing svobjects to LIBS:svobjects ...")
  102.   (help @copyfiles-help)
  103.   (source "libs/svobjects")
  104.   (dest (tackon svlibdir "svobjects"))
  105.   (pattern "#?")
  106.   (files)
  107. )
  108.  
  109. (copyfiles
  110.   (prompt "Installing svdrivers to LIBS:svdrivers ...")
  111.   (help @copyfiles-help)
  112.   (source "libs/svdrivers")
  113.   (dest (tackon svlibdir "svdrivers"))
  114.   (pattern "#?")
  115.   (files)
  116. )
  117.  
  118. (copyfiles
  119.   (prompt "Installing svoperators to LIBS:svoperators ...")
  120.   (help @copyfiles-help)
  121.   (source "libs/svoperators")
  122.   (dest (tackon svlibdir "svoperators"))
  123.   (pattern "#?")
  124.   (files)
  125. )
  126.  
  127. (if (>= MC68x 68020)
  128.   (copyfiles
  129.     (prompt "Installing special 68020+ versions of some libraries...")
  130.     (help @copyfiles-help)
  131.     (source "libs/68030")
  132.     (dest (tackon svlibdir "svobjects"))
  133.     (all)
  134.   )
  135. )
  136.  
  137. (if (>= MC68x 68040)
  138.   (copyfiles
  139.     (prompt "Installing special 68040+ versions of some libraries...")
  140.     (help @copyfiles-help)
  141.     (source "libs/68040")
  142.     (dest (tackon svlibdir "svobjects"))
  143.     (all)
  144.   )
  145. )
  146.