Home | History | Annotate | Download | only in dvd+rw-tools
      1 #!/bin/sh
      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 2007 Sun Microsystems, Inc.  All rights reserved.
     24 # Use is subject to license terms.
     25 #
     26 # ident	"@(#)install-dvd+rw-tools	1.6	07/04/27 SMI"
     27 #
     28 VERS=5.21.4.10.8
     29 
     30 PKGVERS=dvd+rw-tools-${VERS}
     31 PREFIX=${ROOT}/usr
     32 BINDIR=${PREFIX}/bin
     33 SHAREDIR=${PREFIX}/share
     34 
     35 . ${SRC}/tools/install.subr
     36 
     37 # manpages are special "sun" versions with corrected section
     38 # references, etc.  These are the ones we actually install.
     39 # Note to maintainers - if the package revs, you need to re-create
     40 # new sun versions of the manpages.
     41 
     42 MANSCRIPT=sunman-stability
     43 
     44 for manpage in growisofs.1
     45 do
     46 	mandir=${SHAREDIR}/man/man1
     47 	_install M ${PKGVERS}/${manpage} ${mandir}/${manpage} 444
     48 done
     49 
     50 cd ${PKGVERS}
     51 for binary in dvd+rw-booktype dvd+rw-format dvd+rw-mediainfo dvd-ram-control growisofs
     52 do
     53 	_install E ${binary} ${BINDIR}/${binary} 555
     54 done
     55 
     56 exit 0
     57