source: scripts/scripts/native-scripts/native-iproute2.sh @ 7f65c0e

clfs-1.2clfs-2.1clfs-3.0.0-systemdclfs-3.0.0-sysvinitsystemdsysvinit
Last change on this file since 7f65c0e was 7f65c0e, checked in by Jim Gifford <clfs@…>, 18 years ago

r625@server (orig r623): jim | 2005-10-31 12:43:24 -0800
Final Move

  • Property mode set to 100755
File size: 924 bytes
Line 
1#!/bin/bash
2
3# cross-lfs native iproute2 build
4# -------------------------------
5# $LastChangedBy$
6# $LastChangedDate$
7# $LastChangedRevision$
8# $HeadURL$
9#
10
11# TODO: look into whether this needs to install libs... if
12#       so, use libdirname...
13cd ${SRC}
14LOG=iproute2-native.log
15set_libdirname
16setup_multiarch
17
18unpack_tarball iproute2-${IPROUTE2_VER}
19cd ${PKGDIR}
20
21test -f misc/Makefile-ORIG || cp -p misc/Makefile misc/Makefile-ORIG
22chmod 666 misc/Makefile
23sed -e '/^TARGETS/s@arpd@@g' \
24    misc/Makefile-ORIG > misc/Makefile
25
26max_log_init iproute2 ${IPROUTE2_VER} "native (shared)" ${CONFLOGS} ${LOG}
27./configure \
28   >> ${LOGFILE} 2>&1 &&
29echo " o Configure OK" &&
30
31min_log_init ${BUILDLOGS} &&
32make CC="${CC-gcc} ${ARCH_CFLAGS} ${TGT_CFLAGS}" SBINDIR="/sbin" \
33   >> ${LOGFILE} 2>&1 &&
34echo " o Build OK" &&
35
36min_log_init ${INSTLOGS} &&
37make SBINDIR=/sbin install \
38   >> ${LOGFILE} 2>&1 &&
39echo " o ALL OK" || barf
40
Note: See TracBrowser for help on using the repository browser.