##########################################################################
#
# Some Installation Directions for Mayko mXmap V1.0
# -------------------------------------------------
# 
#  |---------------------------------------------------------------|
#  |       Copyright (c) 1998, Mayr & Kockelhoff Inc.              |
#  |       All Rights Reserved                                     |
#  |                                                               |
#  | Note: BY INSTALLING THIS SOFTWARE YOU ACCEPT                  |
#  |       ALL THE TERMS AND CONDITIONS OF THE LICENSE AGREEMENT.  |
#  |                                                               |
#  |    Please refer to file LICENSE that comes with the mXmap     |
#  |    distribution.                                              |
#  |    If the LICENSE file is not available, please request a     |
#  |    copy via email from 'mxmap@mayko.com' or see               |
#  |    'www.mayko.com' prior to the install.                      |
#  |                                                               |
#  |---------------------------------------------------------------|
#
# The install script 'install-mxmap' helps to install the Mayko mXmap 
# package.  It could be used to install from the distribution CD or
# the downloaded mXmap and Map packages from 'ftp.mayko.com'
# See 'www.mayko.com' too for further instructions and news.
#
# You can install the Mayko mXmap package as 'root' or as 'normal user'.
# The default install directories are:
#    login as root  install directory = /usr/local/mxmap
#       or as user  install directory = $HOME
#
# Installing from CD:
# -------------------
# Mount the mXmap distribution CD on your maschine. In case you do not
# have a CDROM, you could install as well via NFS.
#
# Installing downloaded mXmap package (TGZ):
# ------------------------------------------
# You should get a copy of the mXmap package "mxmap-*.tar.gz" and
# of the map archive "mxmaps-1.0.tar.gz". Create a directory
# e.g 'mkdir /tmp/mx-temp' and 'cd' into it. Unpack mxmap-*.tar.gz using
# tar and gzip. e.g 'tar -xvzf mxmap-*.tar.gz'.
# Further you move the map archive 'mxmaps-1.0.tar.gz' into the same directory.
# Note, there is no need to unpack the map archive! This will be done
# later by the install script.
#
# Installation in general:
# ------------------------
# 'cd' into the directory, where you find the script 'install-mxmap'. 
# e.g. /cdrom or /tmp/mx-temp package.
# Then just simply type 'sh install-mxmap'. (very important when installing
# from cdrom.)
#
# The install script will copy all necessary binaries and ini file.
# Is the installation done in /usr/local/mxmap, the script will
# create symbolic links for mxmap and gpsd in /usr/bin.
#
# If your local space is limited, you could omit copying the map data
# from the CD to your harddisk. Instead of a map copy, a symbolic link
# will be established. 
# Please note that you need to have the CDROM mounted prior to 
# running Mayko mXmap.
# 
# Prepare user mXmap enviroment (after the root install):
# -------------------------------------------------------
# Mayko mXmap requires a specific enviroment for every user
# who is using mXmap.
# It is important for every single user to have his own 
# preference file '~/mxmap.ini' and '~/maps/map.db'.
#
# Simply launch the install program of the local mXmap install
# directory '/usr/local/mxmap/install-mxmap' once per user.
#
# This will copy the necessary files into the user's directory
# and establish a link for every single map found,
#
# Start Mayko mXmap:
# ------------------
#
# Login with your user account and launch mXmap by typing: 
#	'mxmap'.
# Should be no mxmap link established try: 
#	'/usr/local/mxmap/start-mxmap'
# or	'/usr/local/mxmap/mxmap'
#
# Note: If you did not have superuser priviledges and installed
#	mXmap as user, you'll find the mXmap binary in your HOME
#	directory. You need to type then:
#	'./mxmap'
#
# Enjoy!
#
# Problems:
# ---------
# In case you run into trouble, please let us know and send us
# an e-mail at xmap@mayko.com.
#

#-------------------------------------------------------------------------
# src      id      dest            bin     ini     map.db  .des    maps
#-------------------------------------------------------------------------
# CD       root   /usr/local/mxmap c       c       c       c       l/c
#          user   home             -       c       c       c       l/c
# TGZ      root   /usr/local/mxmap c       c       c       c       c
#          user   home             -       c       c       c       c
# MXMAPDIR root   home             -       c(u)    c       c       l
#          user   home             -       c(u)    c       c       l
#                             c = copy, l = link, c(u) = copy user sample
#-------------------------------------------------------------------------
#-------------------------------------------------------------------------

Other_Platforms ()
{
cat <<EOF

	Mayko mXmap is available for other platforms too.
	Please check the CDROM directory /binaries,
	or see "ftp.mayko.com/pub/mxmap" the latest status.

	To install Mayko mXmap for other platforms, select  
	option 1) of the menu above. 
	After the install is finished, you simply replace the files 
        "mxmap" and "mxmap-static" (if available), by copying 'your' 
        platform mXmap version into /usr/local/mxmap.

EOF
}

#-------------------------------------------------------------------------

