clfs-1.2clfs-2.1clfs-3.0.0-systemdclfs-3.0.0-sysvinitsystemdsysvinit
Last change
on this file since 99e4712 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:
924 bytes
|
Rev | Line | |
---|
[617118d] | 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... |
---|
| 13 | cd ${SRC} |
---|
| 14 | LOG=iproute2-native.log |
---|
| 15 | set_libdirname |
---|
| 16 | setup_multiarch |
---|
| 17 | |
---|
| 18 | unpack_tarball iproute2-${IPROUTE2_VER} |
---|
| 19 | cd ${PKGDIR} |
---|
| 20 | |
---|
| 21 | test -f misc/Makefile-ORIG || cp -p misc/Makefile misc/Makefile-ORIG |
---|
| 22 | chmod 666 misc/Makefile |
---|
| 23 | sed -e '/^TARGETS/s@arpd@@g' \ |
---|
| 24 | misc/Makefile-ORIG > misc/Makefile |
---|
| 25 | |
---|
| 26 | max_log_init iproute2 ${IPROUTE2_VER} "native (shared)" ${CONFLOGS} ${LOG} |
---|
| 27 | ./configure \ |
---|
| 28 | >> ${LOGFILE} 2>&1 && |
---|
| 29 | echo " o Configure OK" && |
---|
| 30 | |
---|
| 31 | min_log_init ${BUILDLOGS} && |
---|
| 32 | make CC="${CC-gcc} ${ARCH_CFLAGS} ${TGT_CFLAGS}" SBINDIR="/sbin" \ |
---|
| 33 | >> ${LOGFILE} 2>&1 && |
---|
| 34 | echo " o Build OK" && |
---|
| 35 | |
---|
| 36 | min_log_init ${INSTLOGS} && |
---|
| 37 | make SBINDIR=/sbin install \ |
---|
| 38 | >> ${LOGFILE} 2>&1 && |
---|
| 39 | echo " o ALL OK" || barf |
---|
| 40 | |
---|
Note: See
TracBrowser
for help on using the repository browser.