clfs-1.2
clfs-2.1
clfs-3.0.0-systemd
clfs-3.0.0-sysvinit
systemd
sysvinit
Last change
on this file since 23b6afb 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:
1.4 KB
|
Line | |
---|
1 | #!/bin/sh
|
---|
2 |
|
---|
3 | # cross-lfs temporary expect build (for running testsuites)
|
---|
4 | # ---------------------------------------------------------
|
---|
5 | # $LastChangedBy$
|
---|
6 | # $LastChangedDate$
|
---|
7 | # $LastChangedRevision$
|
---|
8 | # $HeadURL$
|
---|
9 | #
|
---|
10 |
|
---|
11 | cd ${SRC}
|
---|
12 | LOG=expect-temp.log
|
---|
13 |
|
---|
14 | # Test if the 64 script has been called.
|
---|
15 | SELF=`basename ${0}`
|
---|
16 | set_buildenv
|
---|
17 | set_libdirname
|
---|
18 | setup_multiarch
|
---|
19 |
|
---|
20 | if [ "${USE_SYSROOT}" = "Y" ]; then
|
---|
21 | BUILD_PREFIX=/usr
|
---|
22 | else
|
---|
23 | BUILD_PREFIX=${TGT_TOOLS}
|
---|
24 | fi
|
---|
25 |
|
---|
26 | if [ ! "${libdirname}" = "lib" ]; then
|
---|
27 | extra_conf="--libdir=${BUILD_PREFIX}/${libdirname}"
|
---|
28 | fi
|
---|
29 |
|
---|
30 | unpack_tarball expect-${EXPECT_VER} &&
|
---|
31 | cd ${PKGDIR}
|
---|
32 |
|
---|
33 | case ${EXPECT_VER} in
|
---|
34 | 5.3[89]* | 5.40* )
|
---|
35 | #apply_patch expect-${EXPECT_VER}
|
---|
36 | apply_patch expect-5.39.0-spawn
|
---|
37 | ;;
|
---|
38 | esac
|
---|
39 |
|
---|
40 | max_log_init Expect ${EXPECT_VER} "temp (shared)" ${CONFLOGS} ${LOG}
|
---|
41 | CC="${CC-gcc} ${ARCH_CFLAGS}" \
|
---|
42 | CFLAGS="-O2 -pipe ${TGT_CFLAGS}" \
|
---|
43 | ./configure --prefix=${BUILD_PREFIX} \
|
---|
44 | --with-tcl=${BUILD_PREFIX}/${libdirname} \
|
---|
45 | --with-x=no --disable-symbols ${extra_conf} \
|
---|
46 | --cache-file=/dev/null \
|
---|
47 | >> ${LOGFILE} 2>&1 &&
|
---|
48 | echo " o Configure OK" &&
|
---|
49 |
|
---|
50 | min_log_init ${BUILDLOGS} &&
|
---|
51 | make ${PMFLAGS} LDFLAGS="-s" \
|
---|
52 | >> ${LOGFILE} 2>&1 &&
|
---|
53 | echo " o Build OK" || barf
|
---|
54 |
|
---|
55 | min_log_init ${TESTLOGS} &&
|
---|
56 | # 1 test may fail... hopefully not a real concern...
|
---|
57 | make test \
|
---|
58 | >> ${LOGFILE} 2>&1 &&
|
---|
59 | echo " o Test OK" || errmsg
|
---|
60 |
|
---|
61 | min_log_init ${INSTLOGS} &&
|
---|
62 | make install \
|
---|
63 | >> ${LOGFILE} 2>&1 &&
|
---|
64 | echo " o ALL OK" || barf
|
---|
Note:
See
TracBrowser
for help on using the repository browser.