clfs-1.2
clfs-2.1
clfs-3.0.0-systemd
clfs-3.0.0-sysvinit
systemd
sysvinit
Last change
on this file since 0fd3a9e was 617118d, checked in by Jim Gifford <clfs@…>, 19 years ago |
r561@server (orig r559): root | 2005-06-05 02:38:49 -0700
Fixed Directory Structure
|
-
Property mode
set to
100755
|
File size:
815 bytes
|
Rev | Line | |
---|
[617118d] | 1 | #!/bin/bash
|
---|
| 2 |
|
---|
| 3 | ### BISON ###
|
---|
| 4 |
|
---|
| 5 | cd ${SRC}
|
---|
| 6 | LOG=bison-buildhost.log
|
---|
| 7 |
|
---|
| 8 | unpack_tarball bison-${BISON_VER} &&
|
---|
| 9 | cd ${PKGDIR}
|
---|
| 10 |
|
---|
| 11 | max_log_init Bison ${BISON_VER} "buildhost (shared)" ${CONFLOGS} ${LOG}
|
---|
| 12 | CC="${CC-gcc}" CFLAGS="-O2 -pipe" ./configure --prefix=${HST_TOOLS} \
|
---|
| 13 | >> ${LOGFILE} 2>&1 &&
|
---|
| 14 | echo " o Configure OK" &&
|
---|
| 15 |
|
---|
| 16 | min_log_init ${BUILDLOGS} &&
|
---|
| 17 | make ${PMFLAGS} LDFLAGS="-s" \
|
---|
| 18 | >> ${LOGFILE} 2>&1 &&
|
---|
| 19 | echo " o Build OK" &&
|
---|
| 20 |
|
---|
| 21 | min_log_init ${TESTLOGS} &&
|
---|
| 22 | make check \
|
---|
| 23 | >> ${LOGFILE} 2>&1 &&
|
---|
| 24 | echo " o Test OK" &&
|
---|
| 25 |
|
---|
| 26 | min_log_init ${INSTLOGS} &&
|
---|
| 27 | make install \
|
---|
| 28 | >> ${LOGFILE} 2>&1 &&
|
---|
| 29 | echo " o ALL OK" || barf
|
---|
| 30 |
|
---|
| 31 | test -f ${HST_TOOLS}/bin/yacc ||
|
---|
| 32 | cat > ${HST_TOOLS}/bin/yacc << "EOF"
|
---|
| 33 | #!/bin/sh
|
---|
| 34 | # Begin ${HST_TOOLS}/bin/yacc
|
---|
| 35 |
|
---|
| 36 | exec ${HST_TOOLS}/bin/bison -y "$@"
|
---|
| 37 |
|
---|
| 38 | # End ${HST_TOOLS}/bin/yacc
|
---|
| 39 | EOF
|
---|
| 40 |
|
---|
| 41 | chmod 755 ${HST_TOOLS}/bin/yacc
|
---|
Note:
See
TracBrowser
for help on using the repository browser.