source: scripts_home/scripts/host-scripts/host-grep.sh@ 1c9c5c3

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 1c9c5c3 was 1c9c5c3, checked in by Jim Gifford <clfs@…>, 19 years ago

r624@server (orig r622): jim | 2005-10-31 12:40:28 -0800
Rearranging Archive

  • Property mode set to 100755
File size: 722 bytes
Line 
1#!/bin/bash
2
3### GREP ###
4
5cd ${SRC}
6LOG=grep-buildhost.log
7
8unpack_tarball grep-${GREP_VER} &&
9cd ${PKGDIR}
10
11max_log_init Grep ${GREP_VER} "buildhost (shared)" ${CONFLOGS} ${LOG}
12CC="${CC-gcc}" CFLAGS="-O2 -pipe" \
13./configure --prefix=${HST_TOOLS} --with-included-regex \
14 --disable-nls \
15 >> ${LOGFILE} 2>&1 &&
16echo " o Configure OK" &&
17
18min_log_init ${BUILDLOGS} &&
19make ${PMFLAGS} LDFLAGS="-s" \
20 >> ${LOGFILE} 2>&1 &&
21echo " o Build OK" || barf
22
23# Make Grep tests executable
24chmod 750 ./tests/* &&
25
26min_log_init ${TESTLOGS} &&
27# May fail 2 tests...
28make check \
29 >> ${LOGFILE} 2>&1 &&
30echo " o Test OK" || errmsg
31
32min_log_init ${INSTLOGS} &&
33make install \
34 >> ${LOGFILE} 2>&1 &&
35echo " o ALL OK" || barf
36
Note: See TracBrowser for help on using the repository browser.