home *** CD-ROM | disk | FTP | other *** search
/ Amiga Computing 105 / ac105b.adf / qt11.lzx / qt / Installqt next >
Text File  |  2002-12-27  |  2KB  |  98 lines

  1. ; qt installation script
  2. ; partially modifie by Amiga Computing
  3. ; by Marcus Comstedt <marcus@lysator.liu.se>
  4.  
  5. (complete 0)
  6.  
  7. (select
  8.  (askchoice
  9.   (prompt "\nPlease select the appropriate binary\nthat you want to install\n")
  10.   (choices "68020" "68020+fpu" "68040-68060+fpu")
  11.   (help "By selecting the CPU that matches your machine, you will "
  12.     "get a binary specially optimized for your configuration.  "
  13.     "If you are unsure, select 68020.\n\n" @askchoice-help)
  14.   (default 0))
  15.  (set qt_binary "qt")
  16.  (set qt_binary "qt.020fpu")
  17.  (set qt_binary "qt.040fpu")
  18. )
  19.  
  20. (complete 5)
  21.  
  22. (select
  23.  (askchoice
  24.   (prompt "\nDo you want regular or MagicWB icons installed?\n")
  25.   (choices "Regular" "MagicWB")
  26.   (help "Selecting MagicWB will install 8 colour icons using the "
  27.     "Magic Workbench palette.  Selecting regular will "
  28.     "install plain 4 colour icons\n\n" @askchoice-help)
  29.   (default 0))
  30.  (set icondir "")
  31.  (set icondir "MagicWB")
  32. )
  33.  
  34. (complete 10)
  35.  
  36. (set bindir
  37.  (askdir
  38.   (prompt "Select the directory where you want the qt executable")
  39.   (help "This should be a directory where you can easily access qt "
  40.     "via Workbench or CLI/Shell.\n\n" @askdir-help)
  41.   (default @default-dest)
  42.   (disk)
  43.  )
  44. )
  45.  
  46. (set @default-dest bindir)
  47.  
  48. (complete 15)
  49.  
  50. (copyfiles
  51.  (prompt ("\nCopying qt to %s." bindir))
  52.  (source qt_binary)
  53.  (dest bindir)
  54.  (newname "qt")
  55. )
  56.  
  57. (complete 35)
  58.  
  59. (copyfiles
  60.  (prompt ("\nCopying qt.info to %s." bindir))
  61.  (source (tackon icondir "qt.info"))
  62.  (dest bindir)
  63.  (newname "qt.info")
  64.  (noposition)
  65. )
  66.  
  67. (complete 55)
  68.  
  69. (if (askbool (prompt "Do you wish to install the AmigaGuide documentation?")
  70.     (help @askbool-help)
  71.     (default 1))
  72.  (
  73.   (set docdir
  74.    (askdir
  75.     (prompt "Select the directory where you want the qt documentation")
  76.     (help @askdir-help)
  77.     (default @default-dest)))
  78.  
  79.   (complete 60)
  80.  
  81.   (copyfiles
  82.    (prompt ("\nCopying qt.guide to %s." docdir))
  83.    (source "qt.guide")
  84.    (dest docdir))
  85.  
  86.   (complete 80)
  87.  
  88.   (copyfiles
  89.    (prompt ("\nCopying qt.guide.info to %s." docdir))
  90.    (source (tackon icondir "qt.guide.info"))
  91.    (dest docdir)
  92.    (noposition))
  93.  )
  94. )
  95.  
  96. (complete 100)
  97.  
  98.