clfs-1.2
clfs-2.1
clfs-3.0.0-systemd
clfs-3.0.0-sysvinit
systemd
sysvinit
Last change
on this file since 0fd3a9e 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:
896 bytes
|
Line | |
---|
1 | #!/bin/bash
|
---|
2 |
|
---|
3 | # cross-lfs native ed build
|
---|
4 | # -------------------------
|
---|
5 | # $LastChangedBy$
|
---|
6 | # $LastChangedDate$
|
---|
7 | # $LastChangedRevision$
|
---|
8 | # $HeadURL$
|
---|
9 | #
|
---|
10 |
|
---|
11 | cd ${SRC}
|
---|
12 | LOG=ed-native.log
|
---|
13 |
|
---|
14 | set_libdirname
|
---|
15 | setup_multiarch
|
---|
16 |
|
---|
17 | unpack_tarball ed-${ED_VER}
|
---|
18 | cd ${PKGDIR}
|
---|
19 |
|
---|
20 | # TODO: patch is for ed 0.2, if this barfs check if patch needed
|
---|
21 | # for this version of ed
|
---|
22 | apply_patch ed-0.2-mkstemp-1
|
---|
23 |
|
---|
24 | max_log_init Ed ${ED_VER} "native (shared)" ${CONFLOGS} ${LOG}
|
---|
25 | CC="${CC-gcc} ${ARCH_CFLAGS}" \
|
---|
26 | CFLAGS="-O2 -pipe ${TGT_CFLAGS}" \
|
---|
27 | ./configure --prefix=/usr \
|
---|
28 | >> ${LOGFILE} 2>&1 &&
|
---|
29 | echo " o Configure OK" &&
|
---|
30 |
|
---|
31 | min_log_init ${BUILDLOGS} &&
|
---|
32 | make LDFLAGS="-s" \
|
---|
33 | >> ${LOGFILE} 2>&1 &&
|
---|
34 | echo " o Build OK" &&
|
---|
35 |
|
---|
36 | min_log_init ${TESTLOGS} &&
|
---|
37 | make check \
|
---|
38 | >> ${LOGFILE} 2>&1 &&
|
---|
39 | echo " o Test OK" &&
|
---|
40 |
|
---|
41 | min_log_init ${INSTLOGS} &&
|
---|
42 | make install \
|
---|
43 | >> ${LOGFILE} 2>&1 &&
|
---|
44 | echo " o ALL OK" || barf
|
---|
45 |
|
---|
46 | mv -f /usr/bin/{ed,red} /bin
|
---|
47 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.