source: scripts/scripts/native-scripts/native-iproute2.sh@ 3a4ffbb1

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 3a4ffbb1 was 3a4ffbb1, checked in by Jim Gifford <clfs@…>, 19 years ago

r2516@server (orig r1255): ryan | 2006-03-10 02:10:18 -0800

r1305@rei: lfs | 2006-03-10 20:59:47 +1100
Ensure "configure" is executable


  • Property mode set to 100755
File size: 980 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
26# gah, configure wasn't executable
27chmod 775 configure
28
29max_log_init iproute2 ${IPROUTE2_VER} "native (shared)" ${CONFLOGS} ${LOG}
30./configure \
31 >> ${LOGFILE} 2>&1 &&
32echo " o Configure OK" &&
33
34min_log_init ${BUILDLOGS} &&
35make CC="${CC-gcc} ${ARCH_CFLAGS} ${TGT_CFLAGS}" SBINDIR="/sbin" \
36 >> ${LOGFILE} 2>&1 &&
37echo " o Build OK" &&
38
39min_log_init ${INSTLOGS} &&
40make SBINDIR=/sbin install \
41 >> ${LOGFILE} 2>&1 &&
42echo " o ALL OK" || barf
43
Note: See TracBrowser for help on using the repository browser.