cyril@0: #! /usr/bin/ksh93 cyril@0: # cyril@0: # CDDL HEADER START cyril@0: # cyril@0: # The contents of this file are subject to the terms of the cyril@0: # Common Development and Distribution License (the "License"). cyril@0: # You may not use this file except in compliance with the License. cyril@0: # cyril@0: # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE cyril@0: # or http://www.opensolaris.org/os/licensing. cyril@0: # See the License for the specific language governing permissions cyril@0: # and limitations under the License. cyril@0: # cyril@0: # When distributing Covered Code, include this CDDL HEADER in each cyril@0: # file and include the License file at usr/src/OPENSOLARIS.LICENSE. cyril@0: # If applicable, add the following below this CDDL HEADER, with the cyril@0: # fields enclosed by brackets "[]" replaced with your own identifying cyril@0: # information: Portions Copyright [yyyy] [name of copyright owner] cyril@0: # cyril@0: # CDDL HEADER END cyril@0: # cyril@0: cyril@0: # cyril@0: # Copyright 2009 Sun Microsystems, Inc. All rights reserved. cyril@0: # Use is subject to license terms. cyril@0: # cyril@0: # ident "@(#)install-sfw 1.1 09/06/19 SMI" cyril@0: # cyril@0: cyril@0: set -o errexit cyril@0: cyril@0: PREFIX=$ROOT/usr cyril@0: BINDIR=$PREFIX/benchmarks/iozone cyril@0: MAN1DIR=$PREFIX/share/man/man1 cyril@0: DOCDIR=$PREFIX/share/doc/iozone cyril@0: cyril@0: MANSCRIPT=../sunman-stability cyril@0: cyril@0: source ${SRC}/tools/install.subr cyril@0: cyril@0: cd ${PKGDIR} cyril@0: cyril@0: _install E src/current/iozone $BINDIR/iozone 555 cyril@0: _install M docs/iozone.1 $MAN1DIR/iozone.1 444 cyril@0: _install N docs/IOzone_msword_98.pdf ${DOCDIR}/IOzone.pdf 444 cyril@0: cyril@0: exit 0