1 #! /usr/bin/ksh93 2 # 3 # CDDL HEADER START 4 # 5 # The contents of this file are subject to the terms of the 6 # Common Development and Distribution License (the "License"). 7 # You may not use this file except in compliance with the License. 8 # 9 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 10 # or http://www.opensolaris.org/os/licensing. 11 # See the License for the specific language governing permissions 12 # and limitations under the License. 13 # 14 # When distributing Covered Code, include this CDDL HEADER in each 15 # file and include the License file at usr/src/OPENSOLARIS.LICENSE. 16 # If applicable, add the following below this CDDL HEADER, with the 17 # fields enclosed by brackets "[]" replaced with your own identifying 18 # information: Portions Copyright [yyyy] [name of copyright owner] 19 # 20 # CDDL HEADER END 21 # 22 23 # Copyright 2008 Sun Microsystems, Inc. All rights reserved. 24 # Use is subject to license terms. 25 # 26 # ident "@(#)install-sfw 1.1 08/10/24 SMI" 27 # 28 29 #stop at first error 30 set -o errexit 31 32 VERS=1.03c 33 PKGVERS=bonnie++-${VERS} 34 PREFIX=${ROOT}/usr 35 BDIR=${PREFIX}/benchmarks/bonnie++ 36 BINDIR=${PREFIX}/bin 37 SHAREDIR=${PREFIX}/share 38 MAN1DIR=${SHAREDIR}/man/man1 39 40 cd ${PKGVERS} 41 42 MANSCRIPT=../sunman-stability 43 source ${SRC}/tools/install.subr 44 45 _install M bonnie++.8 ${MAN1DIR}/bonnie++.1 444 46 _install M zcav.8 ${MAN1DIR}/zcav.1 444 47 _install M bon_csv2html.1 ${MAN1DIR}/bon_csv2html.1 444 48 _install M bon_csv2txt.1 ${MAN1DIR}/bon_csv2txt.1 444 49 _install E bonnie++ ${BDIR}/bonnie++ 555 50 _install E bonnie++ ${BDIR}/zcav 555 51 _install N bon_csv2html ${BDIR}/bon_csv2html 555 52 _install N bon_csv2txt ${BDIR}/bon_csv2txt 555 53 _install L ../benchmarks/bonnie++/bonnie++ ${BINDIR}/bonnie++ 54 _install L ../benchmarks/bonnie++/zcav ${BINDIR}/zcav 55 _install L ../benchmarks/bonnie++/bon_csv2html ${BINDIR}/bon_csv2html 56 _install L ../benchmarks/bonnie++/bon_csv2txt ${BINDIR}/bon_csv2txt 57 exit 0 58