source: scripts/native-scripts/native-iproute2.sh@ 8c8c5ab

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 8c8c5ab 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: 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.