source: scripts/host-scripts/host-automake.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: 709 bytes
Line 
1#!/bin/bash
2
3### AUTOMAKE ###
4
5cd ${SRC}
6LOG=automake-buildhost.log
7
8unpack_tarball automake-${AUTOMAKE_VER} &&
9cd ${PKGDIR}
10
11max_log_init Automake ${AUTOMAKE_VER} "buildhost (shared)" ${CONFLOGS} ${LOG}
12CC="${CC-gcc}" CFLAGS="-O2 -pipe" \
13./configure --prefix=${HST_TOOLS} \
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" &&
22
23min_log_init ${INSTLOGS} &&
24make install \
25   >> ${LOGFILE} 2>&1 &&
26echo " o ALL OK" || barf
27
28# TODO: do we need to do the same for aclocal?
29rel=`echo ${AUTOMAKE_VER} | sed 's@\([0-9]\.[0-9]\).*@\1@g'`
30ln -sf automake-${rel} ${HST_TOOLS}/share/automake
31
Note: See TracBrowser for help on using the repository browser.