home *** CD-ROM | disk | FTP | other *** search
- ;
- ; Installation script for the bgui.library (OS 2.0)
- ;
-
- ; Strings
-
- (set @default-dest "")
- (set lib-source "/libs/bgui.library")
- (set lib-def-dest "LIBS:")
- (set lib-to "Where do you want the bgui.library copied in?")
- (set lib-help
- (cat "If you have a special directory setup for third-party\n"
- "libraries you can select it here.\n\n\n"
- )
- )
- (set wrong-kick "You must be running Kickstart 2.04 to use the bgui.library.")
- (set copy-msg "Copying the bgui.library to ")
- (set hail-msg
- (cat "\n\n\nBGUI installation script.\n"
- "This script will install the bgui.library on your Amiga.\n\n"
- "The bgui.library is\n(C) Copyright 1993-1994 Jaba Development.\n"
- "All Rights Reserved."
- )
- )
-
- ; Correct OS version?
-
- (if (< (/ (getversion) 65536) 37) (abort wrong-kick))
-
- (message hail-msg)
-
- ; Ask where to copy the library.
-
- (set lib-dest
- (askdir
- (prompt lib-to)
- (help lib-help)
- (default lib-def-dest)
- )
- )
-
- ; Copy the library.
-
- (copylib
- (prompt (cat copy-msg (tackon lib-dest "bgui.library") "..."))
- (help @copylib-help)
- (source lib-source)
- (dest lib-dest)
- (confirm)
- )
-