clfs-1.2
clfs-2.1
clfs-3.0.0-systemd
clfs-3.0.0-sysvinit
systemd
sysvinit
Last change
on this file since 7ed0e05 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.3 KB
|
Rev | Line | |
---|
[617118d] | 1 | #!/bin/bash
|
---|
| 2 | #
|
---|
| 3 | # unzip
|
---|
| 4 | #
|
---|
| 5 | # Dependencies: None
|
---|
| 6 | #
|
---|
| 7 |
|
---|
| 8 | cd ${SRC}
|
---|
| 9 | LOG=blfs-unzip.log
|
---|
| 10 |
|
---|
| 11 | set_libdirname
|
---|
| 12 | setup_multiarch
|
---|
| 13 |
|
---|
| 14 | unpack_tarball unzip${UNZIP_VER} &&
|
---|
| 15 | cd ${PKGDIR}
|
---|
| 16 |
|
---|
| 17 | case ${UNZIP_VER} in
|
---|
| 18 | 551 | 552 )
|
---|
| 19 | apply_patch unzip-5.51-fix_Makefile-1
|
---|
| 20 | apply_patch unzip-5.51-fix_libz-1
|
---|
| 21 | apply_patch unzip-5.51-dont_make_noise-1
|
---|
| 22 | ;;
|
---|
| 23 | * )
|
---|
| 24 | echo "*** Please check if unzip ${UNZIP_VER} requires patching ***"
|
---|
| 25 | echo "*** then please update this script (and send patch) ***"
|
---|
| 26 | exit 1
|
---|
| 27 | ;;
|
---|
| 28 | esac
|
---|
| 29 |
|
---|
| 30 | cp unix/Makefile .
|
---|
| 31 |
|
---|
| 32 | max_log_init unzip ${UNZIP_VER} "blfs (shared)" ${BUILDLOGS} ${LOG}
|
---|
| 33 |
|
---|
| 34 | case ${TARGET} in
|
---|
| 35 | i?86* )
|
---|
| 36 | make ${PMFLAGS} CC="${CC-gcc} ${ARCH_CFLAGS}" \
|
---|
| 37 | prefix=/usr LOCAL_UNZIP="-DUSE_UNSHRINK" linux \
|
---|
| 38 | >> ${LOGFILE} 2>&1 &&
|
---|
| 39 | make ${PMFLAGS} CC="${CC-gcc} ${ARCH_CFLAGS}" \
|
---|
| 40 | prefix=/usr LOCAL_UNZIP="-DUSE_UNSHRINK" linux_shlibz \
|
---|
| 41 | >> ${LOGFILE} 2>&1 &&
|
---|
| 42 | echo " o Build OK" || barf
|
---|
| 43 | ;;
|
---|
| 44 | * )
|
---|
| 45 | make ${PMFLAGS} CC="${CC-gcc} ${ARCH_CFLAGS}" \
|
---|
| 46 | prefix=/usr LOCAL_UNZIP="-DUSE_UNSHRINK" linux_noasm \
|
---|
| 47 | >> ${LOGFILE} 2>&1 &&
|
---|
| 48 | echo " o Build OK" || barf
|
---|
| 49 | ;;
|
---|
| 50 | esac
|
---|
| 51 |
|
---|
| 52 | min_log_init ${INSTLOGS} &&
|
---|
| 53 | make prefix=/usr LOCAL_UNZIP="-DUSE_UNSHRINK" install \
|
---|
| 54 | >> ${LOGFILE} 2>&1 &&
|
---|
| 55 | echo " o ALL OK" || barf
|
---|
| 56 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.