clfs-1.2
clfs-2.1
clfs-3.0.0-systemd
clfs-3.0.0-sysvinit
systemd
sysvinit
Last change
on this file since e5345f18 was 638ad56, checked in by Jim Gifford <clfs@…>, 19 years ago |
r578@server (orig r576): ryan | 2005-06-09 08:54:11 -0700
Add zip buildscript
|
-
Property mode
set to
100755
|
File size:
550 bytes
|
Line | |
---|
1 | #!/bin/bash
|
---|
2 | #
|
---|
3 | # zip
|
---|
4 | #
|
---|
5 |
|
---|
6 | cd ${SRC}
|
---|
7 | LOG=blfs-zip.log
|
---|
8 |
|
---|
9 | set_libdirname
|
---|
10 | setup_multiarch
|
---|
11 |
|
---|
12 | unpack_tarball zip${ZIP_VER} &&
|
---|
13 | cd ${PKGDIR}
|
---|
14 |
|
---|
15 | max_log_init zip ${ZIP_VER} "blfs (shared)" ${BUILDLOGS} ${LOG}
|
---|
16 |
|
---|
17 | sed -i -e 's@$(INSTALL) man/zip.1@$(INSTALL_PROGRAM) man/zip.1@' \
|
---|
18 | unix/Makefile
|
---|
19 |
|
---|
20 | make ${PMFLAGS} CC="${CC-gcc} ${ARCH_CFLAGS}" \
|
---|
21 | prefix=/usr -f unix/Makefile generic_gcc \
|
---|
22 | >> ${LOGFILE} 2>&1 &&
|
---|
23 | echo " o Build OK" || barf
|
---|
24 |
|
---|
25 | min_log_init ${INSTLOGS} &&
|
---|
26 | make prefix=/usr -f unix/Makefile install \
|
---|
27 | >> ${LOGFILE} 2>&1 &&
|
---|
28 | echo " o ALL OK" || barf
|
---|
29 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.