source: scripts/scripts/untested/blfs-scripts/blfs-which.sh @ 7f65c0e

clfs-1.2clfs-2.1clfs-3.0.0-systemdclfs-3.0.0-sysvinitsystemdsysvinit
Last change on this file since 7f65c0e was 7f65c0e, checked in by Jim Gifford <clfs@…>, 18 years ago

r625@server (orig r623): jim | 2005-10-31 12:43:24 -0800
Final Move

  • Property mode set to 100755
File size: 575 bytes
Line 
1#!/bin/bash
2
3### which ###
4
5cd ${SRC}
6LOG=which-blfs.log
7
8set_libdirname
9setup_multiarch
10
11unpack_tarball which-${WHICH_VER}
12cd ${PKGDIR}
13
14max_log_init which ${WHICH_VER} "blfs (shared)" ${CONFLOGS} ${LOG}
15CC="${CC-gcc} ${ARCH_CFLAGS}" \
16CFLAGS="${TGT_CFLAGS}" \
17./configure --prefix=/usr \
18   --mandir=/usr/share/man --infodir=/usr/share/info \
19   >> ${LOGFILE} 2>&1 &&
20echo " o Configure OK" &&
21
22min_log_init ${BUILDLOGS} &&
23make \
24   >> ${LOGFILE} 2>&1 &&
25echo " o Build OK" &&
26
27min_log_init ${INSTLOGS} &&
28make install \
29   >> ${LOGFILE} 2>&1 &&
30echo " o ALL OK" || barf
31
Note: See TracBrowser for help on using the repository browser.