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