source: scripts/host-scripts/host-sed.sh @ 617118d

clfs-1.2clfs-2.1clfs-3.0.0-systemdclfs-3.0.0-sysvinitsystemdsysvinit
Last change on this file since 617118d was 617118d, checked in by Jim Gifford <clfs@…>, 18 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.