clfs-1.2
clfs-2.1
clfs-3.0.0-systemd
clfs-3.0.0-sysvinit
systemd
sysvinit
Last change
on this file since 61c0e64 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.0 KB
|
Line | |
---|
1 | #!/bin/bash
|
---|
2 |
|
---|
3 | # cross-lfs native tar build
|
---|
4 | # --------------------------
|
---|
5 | # $LastChangedBy$
|
---|
6 | # $LastChangedDate$
|
---|
7 | # $LastChangedRevision$
|
---|
8 | # $HeadURL$
|
---|
9 | #
|
---|
10 |
|
---|
11 | # 20030419 - make libexecdir /usr/lib/tar (FHS Compliant)
|
---|
12 |
|
---|
13 | cd ${SRC}
|
---|
14 | LOG=tar-native.log
|
---|
15 | unpack_tarball tar-${TAR_VER}
|
---|
16 | set_libdirname
|
---|
17 | setup_multiarch
|
---|
18 |
|
---|
19 | cd ${PKGDIR}
|
---|
20 | case ${TAR_VER} in
|
---|
21 | 1.13 ) apply_patch tar-${TAR_VER} ;;
|
---|
22 | 1.15.1 ) apply_patch tar-1.15.1-sparse_fix-1
|
---|
23 | apply_patch tar-1.15.1-gcc4_fix_tests ;;
|
---|
24 | esac
|
---|
25 |
|
---|
26 | max_log_init Tar ${TAR_VER} "native (shared)" ${CONFLOGS} ${LOG}
|
---|
27 | CFLAGS="-O2 -pipe ${ARCH_CFLAGS} ${TGT_CFLAGS}" \
|
---|
28 | ./configure --prefix=/usr --bindir=/bin \
|
---|
29 | --libexecdir=/usr/${libdirname}/tar \
|
---|
30 | >> ${LOGFILE} 2>&1 &&
|
---|
31 | echo " o Configure OK" &&
|
---|
32 |
|
---|
33 | min_log_init ${BUILDLOGS} &&
|
---|
34 | make ${PMFLAGS} LDFLAGS="-s" \
|
---|
35 | >> ${LOGFILE} 2>&1 &&
|
---|
36 | echo " o Build OK" &&
|
---|
37 |
|
---|
38 | min_log_init ${TESTLOGS} &&
|
---|
39 | make check \
|
---|
40 | >> ${LOGFILE} 2>&1 &&
|
---|
41 | echo " o Test OK" &&
|
---|
42 |
|
---|
43 | min_log_init ${INSTLOGS} &&
|
---|
44 | make install \
|
---|
45 | >> ${LOGFILE} 2>&1 &&
|
---|
46 | echo " o ALL OK" || barf
|
---|
47 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.