#!/bin/sh
#
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
# Common Development and Distribution License (the "License").
# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# or http://www.opensolaris.org/os/licensing.
# See the License for the specific language governing permissions
# and limitations under the License.
#
# When distributing Covered Code, include this CDDL HEADER in each
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
# If applicable, add the following below this CDDL HEADER, with the
# fields enclosed by brackets "[]" replaced with your own identifying
# information: Portions Copyright [yyyy] [name of copyright owner]
#
# CDDL HEADER END
#
#
# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "@(#)install-sfw 1.1 08/08/21 SMI"
#
# Define directories
VERS=mtx-1.3.11
PREFIX=${ROOT}/usr
BINDIR=${PREFIX}/sbin
MAN1DIR=${PREFIX}/share/man/man1
# Include common scripts
. ${SRC}/tools/install.subr
# stability
MANSCRIPT=sunman-stability
# Executable files
_install E ${VERS}/mtx ${BINDIR}/mtx 555
_install E ${VERS}/tapeinfo ${BINDIR}/tapeinfo 555
_install E ${VERS}/loaderinfo ${BINDIR}/loaderinfo 555
_install E ${VERS}/scsitape ${BINDIR}/scsitape 555
_install E ${VERS}/scsieject ${BINDIR}/scsieject 555
_install E ${VERS}/nsmhack ${BINDIR}/nsmhack 555
# Manpages
_install M ${VERS}/mtx.1 ${MAN1DIR}/mtx.1 444
_install M ${VERS}/tapeinfo.1 ${MAN1DIR}/tapeinfo.1 444
_install M ${VERS}/loaderinfo.1 ${MAN1DIR}/loaderinfo.1 444
_install M ${VERS}/scsitape.1 ${MAN1DIR}/scsitape.1 444
_install M ${VERS}/scsieject.1 ${MAN1DIR}/scsieject.1 444
# Exit now
exit 0