source: scripts/host-scripts/host-sed.sh@ 7ed0e05

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 7ed0e05 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: 805 bytes
Line 
1#!/bin/bash
2
3### SED ###
4
5cd ${SRC}
6LOG=sed-buildhost.build
7
8unpack_tarball sed-${SED_VER} &&
9cd ${PKGDIR}
10
11case ${SED_VER} in
12 4.1 )
13 # when sed'ing in-place the target files permissions are changed
14 # this fixes this behaviour
15 apply_patch sed-4.1-permissions-1
16 ;;
17esac
18
19max_log_init Sed ${SED_VER} "buildhost (shared)" ${CONFLOGS} ${LOG}
20CC="${CC-gcc}" CFLAGS="-O2 -pipe" \
21./configure --prefix=${HST_TOOLS} \
22 --disable-nls \
23 >> ${LOGFILE} 2>&1 &&
24echo " o Configure OK" &&
25
26min_log_init ${BUILDLOGS} &&
27make ${PMFLAGS} LDFLAGS="-s" \
28 >> ${LOGFILE} 2>&1 &&
29echo " o Build OK" || barf
30
31min_log_init ${TESTLOGS} &&
32make check \
33 >> ${LOGFILE} 2>&1 &&
34echo " o ALL OK" || errmsg
35
36min_log_init ${INSTLOGS} &&
37make install \
38 >> ${LOGFILE} 2>&1 &&
39echo " o ALL OK" || barf
40
Note: See TracBrowser for help on using the repository browser.