Print this page
Other packages up to gcc51 runtime
| Split |
Close |
| Expand all |
| Collapse all |
--- old/build/groff/build.sh
+++ new/build/groff/build.sh
1 1 #!/usr/bin/bash
2 2 #
3 3 # CDDL HEADER START
4 4 #
5 5 # The contents of this file are subject to the terms of the
6 6 # Common Development and Distribution License, Version 1.0 only
7 7 # (the "License"). You may not use this file except in compliance
8 8 # with the License.
9 9 #
10 10 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
11 11 # or http://www.opensolaris.org/os/licensing.
12 12 # See the License for the specific language governing permissions
13 13 # and limitations under the License.
14 14 #
15 15 # When distributing Covered Code, include this CDDL HEADER in each
16 16 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
17 17 # If applicable, add the following below this CDDL HEADER, with the
18 18 # fields enclosed by brackets "[]" replaced with your own identifying
19 19 # information: Portions Copyright [yyyy] [name of copyright owner]
20 20 #
21 21 # CDDL HEADER END
22 22 #
23 23 #
24 24 # Copyright 2011-2012 OmniTI Computer Consulting, Inc. All rights reserved.
25 25 # Use is subject to license terms.
|
↓ open down ↓ |
25 lines elided |
↑ open up ↑ |
26 26 #
27 27 # Load support functions
28 28 . ../../lib/functions.sh
29 29
30 30 PROG=groff # App name
31 31 VER=1.22.2 # App version
32 32 PKG=text/groff # Package name (without prefix)
33 33 SUMMARY="$PROG - GNU Troff typesetting package"
34 34 DESC="$SUMMARY"
35 35
36 -DEPENDS_IPS="SUNWcs system/library/gcc-4-runtime system/library/g++-4-runtime
36 +DEPENDS_IPS="SUNWcs system/library/gcc-5-runtime system/library/g++-5-runtime
37 37 runtime/perl system/library/math system/library"
38 38
39 39 BUILDARCH=32
40 40 CONFIGURE_OPTS_32="--prefix=$PREFIX
41 41 --sysconfdir=/etc
42 42 --includedir=$PREFIX/include
43 43 --bindir=$PREFIX/bin
44 44 --sbindir=$PREFIX/sbin
45 45 --libdir=$PREFIX/lib
46 46 --libexecdir=$PREFIX/libexec"
47 47 CONFIGURE_OPTS="--without-x"
48 48
49 49 cleanup_gnuism() {
50 50 GNUCLASH="diffmk eqn grn indxbib neqn nroff pic refer soelim"
51 51 mkdir -p $DESTDIR/usr/gnu/bin
52 52 for clash in $GNUCLASH ; do
53 53 ln -s ../../bin/g$clash $DESTDIR/usr/gnu/bin/$clash
54 54 done
55 55 }
56 56
57 57 install_license() {
58 58 local LICENSE_FILE
59 59 LICENSE_FILE=$TMPDIR/$BUILDDIR/$1
60 60
61 61 if [ -f "$LICENSE_FILE" ]; then
62 62 logmsg "Using $LICENSE_FILE as package license"
63 63 logcmd cp $LICENSE_FILE $DESTDIR/license
64 64 else
65 65 logerr "-- $LICENSE_FILE not found!"
66 66 exit 255
67 67 fi
68 68 }
69 69
70 70 init
71 71 download_source $PROG $PROG $VER
72 72 patch_source
73 73 prep_build
74 74 build
75 75 install_license COPYING
76 76 make_isa_stub
77 77 strip_install
78 78 cleanup_gnuism
79 79 make_package
80 80 clean_up
|
↓ open down ↓ |
34 lines elided |
↑ open up ↑ |
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX