source: scripts/untested/blfs-scripts/blfs-zip.sh@ 66f17d5

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 66f17d5 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
6cd ${SRC}
7LOG=blfs-zip.log
8
9set_libdirname
10setup_multiarch
11
12unpack_tarball zip${ZIP_VER} &&
13cd ${PKGDIR}
14
15max_log_init zip ${ZIP_VER} "blfs (shared)" ${BUILDLOGS} ${LOG}
16
17sed -i -e 's@$(INSTALL) man/zip.1@$(INSTALL_PROGRAM) man/zip.1@' \
18 unix/Makefile
19
20make ${PMFLAGS} CC="${CC-gcc} ${ARCH_CFLAGS}" \
21 prefix=/usr -f unix/Makefile generic_gcc \
22 >> ${LOGFILE} 2>&1 &&
23echo " o Build OK" || barf
24
25min_log_init ${INSTLOGS} &&
26make prefix=/usr -f unix/Makefile install \
27 >> ${LOGFILE} 2>&1 &&
28echo " o ALL OK" || barf
29
Note: See TracBrowser for help on using the repository browser.