usr/src/cmd/iozone/install-sfw
author Jon Tibble <meths@btinternet.com>
Mon May 04 14:04:39 2015 +0100 (2015-05-04)
branchoi_151a
changeset 254 9c2a4ac793f0
permissions -rw-r--r--
Bash patch catchup including shellshock
cyril@0
     1
#! /usr/bin/ksh93
cyril@0
     2
#
cyril@0
     3
# CDDL HEADER START
cyril@0
     4
#
cyril@0
     5
# The contents of this file are subject to the terms of the
cyril@0
     6
# Common Development and Distribution License (the "License").
cyril@0
     7
# You may not use this file except in compliance with the License.
cyril@0
     8
#
cyril@0
     9
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
cyril@0
    10
# or http://www.opensolaris.org/os/licensing.
cyril@0
    11
# See the License for the specific language governing permissions
cyril@0
    12
# and limitations under the License.
cyril@0
    13
#
cyril@0
    14
# When distributing Covered Code, include this CDDL HEADER in each
cyril@0
    15
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
cyril@0
    16
# If applicable, add the following below this CDDL HEADER, with the
cyril@0
    17
# fields enclosed by brackets "[]" replaced with your own identifying
cyril@0
    18
# information: Portions Copyright [yyyy] [name of copyright owner]
cyril@0
    19
#
cyril@0
    20
# CDDL HEADER END
cyril@0
    21
#
cyril@0
    22
cyril@0
    23
#
cyril@0
    24
# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
cyril@0
    25
# Use is subject to license terms.
cyril@0
    26
#
cyril@0
    27
# ident	"@(#)install-sfw	1.1	09/06/19 SMI"
cyril@0
    28
#
cyril@0
    29
cyril@0
    30
set -o errexit
cyril@0
    31
cyril@0
    32
PREFIX=$ROOT/usr
cyril@0
    33
BINDIR=$PREFIX/benchmarks/iozone
cyril@0
    34
MAN1DIR=$PREFIX/share/man/man1
cyril@0
    35
DOCDIR=$PREFIX/share/doc/iozone
cyril@0
    36
cyril@0
    37
MANSCRIPT=../sunman-stability
cyril@0
    38
cyril@0
    39
source ${SRC}/tools/install.subr
cyril@0
    40
cyril@0
    41
cd ${PKGDIR}
cyril@0
    42
cyril@0
    43
_install E src/current/iozone $BINDIR/iozone 555
cyril@0
    44
_install M docs/iozone.1 $MAN1DIR/iozone.1 444
cyril@0
    45
_install N docs/IOzone_msword_98.pdf ${DOCDIR}/IOzone.pdf 444
cyril@0
    46
cyril@0
    47
exit 0